nw_connection_t
A bidirectional data connection between a local endpoint and a remote endpoint.
Declaration
typealias nw_connection_t = any OS_nw_connectionTopics
Creating Connections
nw_connection_create(_:_:)nw_connection_set_queue(_:_:)nw_connection_start(_:)nw_connection_restart(_:)
Handling State Updates
nw_connection_state_tnw_connection_set_state_changed_handler(_:_:)nw_connection_state_changed_handler_t
Sending and Receiving Data
nw_connection_send(_:_:_:_:_:)nw_connection_send_completion_tnw_content_context_tnw_connection_receive(_:_:_:_:)nw_connection_receive_completion_tnw_connection_receive_message(_:_:)nw_connection_batch(_:_:)nw_connection_get_maximum_datagram_size(_:)
Canceling Connections
Handling Path Updates
nw_connection_copy_current_path(_:)nw_connection_set_path_changed_handler(_:_:)nw_connection_path_event_handler_tnw_connection_set_viability_changed_handler(_:_:)nw_connection_set_better_path_available_handler(_:_:)nw_connection_boolean_event_handler_t
Collecting Connection Metrics
nw_establishment_report_tnw_connection_access_establishment_report(_:_:_:)nw_establishment_report_access_block_tnw_data_transfer_report_tnw_connection_create_new_data_transfer_report(_:)