Skip to content

HTTP Proxy setting via NWParameters.PrivacyContext.proxyConfiguration #48

@yyaroshevich

Description

@yyaroshevich

Hello @benjamin-tang-pusher
I've found out your question regarding proxying of NWConnection when used with WebSocket here: https://developer.apple.com/forums/thread/684489
Could you please share if you were able to make NWConnection to work over proxy when configured to perform WebSocket connection? So far I have no luck. This is very strange for me that plain old TCP connection over NWConnection is proxied by default, but then suddenly broken if I change NWEndpoint from NWEndpoint.HostPort to NWEndpoint.URL with scheme wss (scheme https works over proxy).

Thanks a lot in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions