nw_tcp_options_set_enable_fast_open(_:_:)
Enables TCP Fast Open on a connection.
Declaration
func nw_tcp_options_set_enable_fast_open(_ options: nw_protocol_options_t, _ enable_fast_open: Bool)Discussion
If TCP Fast Open is enabled and TLS is running on top of TCP, the TLS handshake will automatically be used as the TCP early data. If there is no protocol running on top of TCP, you should also enable fast open on the connection parameters and send idempotent data.
See Also
Related Documentation
Functions
nw_advertise_descriptor_copy_txt_record_object(_:)nw_advertise_descriptor_create_application_service(_:)nw_advertise_descriptor_create_bonjour_service(_:_:_:)nw_advertise_descriptor_get_application_service_name(_:)nw_advertise_descriptor_get_no_auto_rename(_:)nw_advertise_descriptor_set_no_auto_rename(_:_:)nw_advertise_descriptor_set_txt_record(_:_:_:)nw_advertise_descriptor_set_txt_record_object(_:_:)nw_browse_descriptor_create_application_service(_:)nw_browse_descriptor_create_bonjour_service(_:_:)nw_browse_descriptor_get_application_service_name(_:)nw_browse_descriptor_get_bonjour_service_domain(_:)nw_browse_descriptor_get_bonjour_service_type(_:)nw_browse_descriptor_get_include_txt_record(_:)nw_browse_descriptor_set_include_txt_record(_:_:)