Skip to content

Support for Proxy in HttpClient in iOS #18635

Description

@rolfbjarne

From @Syed-RI on Fri, 19 May 2023 13:23:03 GMT

Description

Please provide support/implementations to enable proxy in iOS

We are currently working on some enterprise applications which will be deployed to corporate devices via their MDM systems and they will enforce proxy on these devices. I was horrified seeing this bit of warning in my .NET MAUI app

Screenshot 2023-05-19 at 14 15 50

Bit of search revealed more horrors here: #14632

May be this is bit late for our project and we will have to abstract and have platform specific, unmanaged HttpClientHandlers to support proxy in iOS devices. Is there any proposal anywhere or official workaround? Apologies, if there is any and I have somehow missed it.

CC @davidortinau @PureWeen @Redth @rolfbjarne for visibility

Public API Changes

NONE

Intended Use-Case

To support and enable proxy in IHttpClientFactory for iOS devices

Copied from original issue dotnet/maui#15179

Metadata

Metadata

Assignees

No one assigned

    Labels

    dotnetAn issue or pull request related to .NET (6)featureA feature to be implementednetworkingIf an issue or pull request is related to networking

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions