Skip to content

fix!: SYSLIB0014 warning related to use of WebRequest-related types#1048

Draft
louis-z wants to merge 1 commit intomainfrom
Fix-SYSLIB0014
Draft

fix!: SYSLIB0014 warning related to use of WebRequest-related types#1048
louis-z wants to merge 1 commit intomainfrom
Fix-SYSLIB0014

Conversation

@louis-z
Copy link
Member

@louis-z louis-z commented Feb 4, 2026

Replace use of obsolete WebRequest-related types with that of HttpClient-related ones.

This was done in several steps, ultimately squashed into a single commit:

  • Claude did the heavy lifting
  • Manual tweaks were made afterwards, to make code changes a little cleaner

This introduces Breaking Changes:

  • ⚠ Users can no longer override GetResponse(), GetResponseAsync(), or GetRequestStream() methods
  • ✅ Migration path: Use IHttpMessageHandler interface instead

@louis-z louis-z changed the title Fix SYSLIB0014 warning related to use of WebRequest-related types fix!: SYSLIB0014 warning related to use of WebRequest-related types Feb 4, 2026
@msrouchou
Copy link
Contributor

  • Are there any changes as to how the client library will be used in consuming apps ?
  • In case the breaking changes are confusing, can we create/generate a quick migration guide (from older to newer version) ?

Replace use of obsolete WebRequest-related types with that of HttpClient-related ones.

This was done in several steps, ultimately squashed into a single commit:

- Claude did the heavy lifting
- Manual tweaks were made afterwards, to make code changes a little cleaner

This introduces breaking Changes:
- ⚠ Users can no longer override GetResponse(), GetResponseAsync(), or GetRequestStream() methods
- ✅ Migration path: Use IHttpMessageHandler interface instead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants