enum noPollRole

Describes the connection role (how it was initiated).

Enumerator
NOPOLL_ROLE_UNKNOWN 

Unknown role, returned/used when the connection isn't defined.

NOPOLL_ROLE_CLIENT 

When the connection was created connecting to a web socket server (see nopoll_conn_new).

NOPOLL_ROLE_LISTENER 

When the connection was accepted being a listener process.

NOPOLL_ROLE_MAIN_LISTENER 

When the connection was created by nopoll_listener_new to accept incoming connections.