Contents

nw_relay_hop_add_additional_http_header_field(_:_:_:)

Adds an HTTP header name and value pair to send as part of CONNECT requests to the relay.

Declaration

func nw_relay_hop_add_additional_http_header_field(_ relay_hop: nw_relay_hop_t, _ field_name: UnsafePointer<CChar>, _ field_value: UnsafePointer<CChar>)

Parameters

  • relay_hop:

    The relay hop to modify.

  • field_name:

    The HTTP header name.

  • field_value:

    The HTTP header value.

See Also

Configuring Relay Hops