nw_framer_set_stop_handler(_:_:)
Sets a block to handle when the connection is being closed.
Declaration
func nw_framer_set_stop_handler(_ framer: nw_framer_t, _ stop_handler: @escaping nw_framer_stop_handler_t)Sets a block to handle when the connection is being closed.
func nw_framer_set_stop_handler(_ framer: nw_framer_t, _ stop_handler: @escaping nw_framer_stop_handler_t)