void nopoll_conn_opts_set_cookie ( noPollConnOpts opts,
const char *  cookie_content 

Allows to set Cookie header content to be sent during the connection handshake.

If configured and the remote side server is a noPoll peer, use nopoll_conn_get_cookie to get this value.

optsThe connection option to configure.
cookie_contentContent for the cookie. If you pass NULL the cookie is unset.

References nopoll_free(), and nopoll_strdup().