const char* nopoll_conn_get_host_header ( noPollConn conn)

Allows to get the Host: header value that was received for this connection during the handshake.

connThe websocket connection where the operation takes place.
The Host value received during the handshake for this connection or NULL if it fails to get this value (or it wasn't defined).