Provided by: libnng-dev_1.10.1-2_amd64 

NAME
nng_ws_register - register WebSocket transport
SYNOPSIS
#include <nng/transport/websocket/ws.h>
int nng_ws_register(void);
DESCRIPTION
The nng_ws_register() function registers the ws transport for use.
Note
This function is deprecated, and may be removed from a future release. It is no longer necessary to
explicitly register transports.
RETURN VALUES
This function returns 0 on success, and non-zero otherwise.
ERRORS
NNG_ENOMEM
Insufficient memory is available.
NNG_ENOTSUP
The transport is not supported.
SEE ALSO
nng_ws(7), nng(7)
2025-04-20 NNG_WS_REGISTER(3)