Contents

nw_parameters_create_quic(_:)

Initializes parameters for QUIC connections and listeners.

Declaration

func nw_parameters_create_quic(_ configure_quic: @escaping  nw_parameters_configure_protocol_block_t) -> nw_parameters_t

Parameters

  • configure_quic:

    A Swift closure, or an Objective-C block, that receives an Nw_protocol_options_t instance. Provide a custom block and call the various nw_quic_set… functions on this instance to customize connection and listener parameters. If you want to use default parameters, pass NW_PARAMETERS_DEFAULT_CONFIGURATION for this value. This method doesn’t support passing NW_PARAMETERS_DISABLE_PROTOCOL to disable the protocol.

See Also

Functions