void nopoll_conn_opts_set_extra_headers ( noPollConnOpts opts,
const char *  header_string 

Allows to set arbitrary HTTP headers and content to be sent during the connection handshake.

String must match the format: "\r\nheader:value\r\nheader2:value2" with no trailing
optsThe connection option to configure.
header_stringContent for the headers. If you pass NULL the extra headers are unset.

References nopoll_free(), and nopoll_strdup().