Contents

nw_proxy_config_create_http_connect(_:_:)

Initializes a legacy HTTP CONNECT configuration for a proxy server accessible using HTTP/1.1.

Declaration

func nw_proxy_config_create_http_connect(_ proxy_endpoint: nw_endpoint_t, _ proxy_tls_options: nw_protocol_options_t?) -> nw_proxy_config_t

Parameters

  • proxy_endpoint:

    A host endpoint identifying the proxy server accessible using HTTP/1.1.

  • proxy_tls_options:

    Optional TLS options to use for a TLS handshake to the relay. If no TLS options are provided, the proxy will be accessed using cleartext HTTP.

Return Value

An initialized proxy configuration object.

See Also

Creating Proxy Configurations