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
nw_parameters_set_multipath_service(_:_:)nw_parameters_get_multipath_service(_:)nw_multipath_service_tnw_parameters_set_service_class(_:_:)nw_parameters_get_service_class(_:)nw_service_class_tnw_parameters_get_fast_open_enabled(_:)nw_parameters_set_expired_dns_behavior(_:_:)nw_parameters_get_expired_dns_behavior(_:)nw_parameters_expired_dns_behavior_tnw_parameters_set_requires_dnssec_validation(_:_:)nw_parameters_requires_dnssec_validation(_:)nw_parameters_set_prefer_no_proxy(_:_:)nw_parameters_get_prefer_no_proxy(_:)nw_parameters_set_include_peer_to_peer(_:_:)