nw_framer_start_handler_t
A handler that represents the entry point into your custom protocol.
Declaration
typealias nw_framer_start_handler_t = (nw_framer_t) -> nw_framer_start_result_tReturn Value
Return a start result indicating if the connection should become ready immediately, or wait for you protocol to perform a handshake.
Discussion
Within your start handler, you should register all other callbacks for your custom protocol, particularly nw_framer_set_output_handler(_:_:) and nw_framer_set_input_handler(_:_:).
Any state that you need to be associated with your protocol as customizable options can be captured within the start block.