Skip to content

Conversation

@ManickaP
Copy link
Member

@ManickaP ManickaP commented Jul 2, 2020

Ports 2 PRs: #34948 and #37494

Potentially we might port #38502 and #38511.

Lastly there's still open #38635 that might be of interest once merged.

cc: @danmosemsft @scalablecory

ManickaP added 2 commits July 2, 2020 20:41
Introduces sync version of HttpClient.Send and all necessary changes to make it work synchronously (e.g.: HttpContent, HttpMessageHandler and their child classes).

The change works properly only for HTTP1.1, for unsupported scenarios like HTTP2 throws.

Testing the change uses existing tests calling HttpClient.SendAsync and introduces test argument calling the same test twice, once with HttpClient.SendAsync and then with HttpClient.Send.

Resolves dotnet#32125
@Dotnet-GitSync-Bot
Copy link
Collaborator

Note regarding the new-api-needs-documentation label:

This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change.

@ghost
Copy link

ghost commented Jul 2, 2020

Tagging subscribers to this area: @dotnet/ncl
Notify danmosemsft if you want to be subscribed.

@ManickaP ManickaP closed this Jul 2, 2020
@ManickaP ManickaP deleted the mapichov/sync_http_client branch July 2, 2020 20:00
@karelz karelz added this to the 5.0.0 milestone Aug 18, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants