logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nng_wss_register - register WebSocket secure transport

Description

       The nng_wss_register() function registers the wss 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.

Errors

       NNG_ENOMEM
           Insufficient memory is available.

       NNG_ENOTSUP
           The transport is not supported.

Name

       nng_wss_register - register WebSocket secure transport

Return Values

       This function returns 0 on success, and non-zero otherwise.

See Also

nng_ws(7), nng(7)

                                                   2025-04-20                                NNG_WSS_REGISTER(3)

Synopsis

           #include <nng/transport/websocket/ws.h>

           int nng_wss_register(void);

See Also