dotnet / dotnet/core

HttpClient support for specifying local end point

Open
#8,325 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
22k
Forks
4.9k
Avg merge
5d 5h
Merged PRs (30d)
29

Description

### Background
WebRequest class has been [deprecated](https://github.com/dotnet/platform-compat/blob/master/docs/DE0003.md).
Deprecation recommendation is to use .Net HttpClient and third party FTP client instead.

### Problem
WebRequest supports setting local end point with ServicePoint.BindIPEndPointDelegate.
The suggest third party FTP client support setting local IP end point but
.Net HttpClient can not replace HttpWebRequest because it does not support setting local IP end point.

### Solution
Add support for setting local IP end point for HttpClient or
add a list of third party HTTP clients support setting local IP end point to the deprecation recommendation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.