const char* nopoll_conn_get_cookie ( noPollConn conn)

Allows to get cookie header content received during handshake (if received).

Parameters
connThe websocket connection where the operation takes place.
Returns
A reference to the cookie value or NULL if nothing is configured or if failed to get it.