Post

Replies

Boosts

Views

Activity

Send requests through a proxy with the Network library
How can I send requests through a proxy with the Network library? With URLSession this could be done through the configuration like: configuration.connectionProxyDictionary = [ kCFNetworkProxiesHTTPEnable as String: 1, kCFNetworkProxiesHTTPProxy as String: ip, kCFNetworkProxiesHTTPPort as String: port, "HTTPSEnable": 1, "HTTPSProxy": ip, "HTTPSPort": port, ] Is it possible to do something similar with the Network library?
1
0
435
Nov ’22