Contents

nw_parameters_set_fast_open_enabled(_:_:)

Enables sending application data with protocol handshakes.

Declaration

func nw_parameters_set_fast_open_enabled(_ parameters: nw_parameters_t, _ fast_open_enabled: Bool)

Discussion

When fast open is enabled on a connection, the application is expected to send its early data to be included with the handshake as idempotent data. This data can be sent before or after calling start.

See Also

Customizing Connection Options