Functions
noPoll Listener: functions required to create WebSocket listener connections.

Functions

noPollConnnopoll_listener_from_socket (noPollCtx *ctx, NOPOLL_SOCKET session)
 Creates a websocket listener from the socket provided. More...
 
noPollConnnopoll_listener_new (noPollCtx *ctx, const char *host, const char *port)
 Creates a new websocket server listener on the provided host name and port (IPv4) More...
 
noPollConnnopoll_listener_new6 (noPollCtx *ctx, const char *host, const char *port)
 Creates a new websocket server listener on the provided host name and port (IPv6). More...
 
noPollConnnopoll_listener_new_opts (noPollCtx *ctx, noPollConnOpts *opts, const char *host, const char *port)
 Creates a new websocket server listener on the provided host name and port (IPv4). More...
 
noPollConnnopoll_listener_new_opts6 (noPollCtx *ctx, noPollConnOpts *opts, const char *host, const char *port)
 Creates a new websocket server listener on the provided host name and port (IPv6). More...
 
nopoll_bool nopoll_listener_set_certificate (noPollConn *listener, const char *certificate, const char *private_key, const char *chain_file)
 Allows to configure the TLS certificate and key to be used on the provided connection. More...
 
noPollConnnopoll_listener_tls_new (noPollCtx *ctx, const char *host, const char *port)
 Allows to create a new WebSocket listener but expecting the incoming connection to be under TLS supervision. More...
 
noPollConnnopoll_listener_tls_new6 (noPollCtx *ctx, const char *host, const char *port)
 Allows to create a new WebSocket listener but expecting the incoming connection to be under TLS supervision. More...
 
noPollConnnopoll_listener_tls_new_opts (noPollCtx *ctx, noPollConnOpts *opts, const char *host, const char *port)
 Allows to create a new WebSocket listener but expecting the incoming connection to be under TLS supervision. More...
 
noPollConnnopoll_listener_tls_new_opts6 (noPollCtx *ctx, noPollConnOpts *opts, const char *host, const char *port)
 Allows to create a new WebSocket listener but expecting the incoming connection to be under TLS supervision. More...
 

Detailed Description