nw_proxy_config_create_relay(_:_:)
Initializes a proxy configuration with one or two relay hops.
Declaration
func nw_proxy_config_create_relay(_ first_hop: nw_relay_hop_t, _ second_hop: nw_relay_hop_t?) -> nw_proxy_config_tParameters
- first_hop:
A relay hop, which is either the first of two hops, or the only hop.
- second_hop:
An optional second relay hop.
Return Value
An initialized proxy configuration object.