Function

nw_browser_set_state_changed_handler(_:_:)

Sets a handler to receive browser state updates.

Declaration

func nw_browser_set_state_changed_handler(_ browser: nw_browser_t, _ state_changed_handler: nw_browser_state_changed_handler_t?)

See Also

Managing Browsers

typealias nw_browser_state_changed_handler_t

A handler that delivers browser state updates with associated errors.

struct nw_browser_state_t

States indicating whether a browser is able to discover services.

func nw_browser_cancel(nw_browser_t)

Stops browsing for services.