Functions
noPoll Connection Options: API to change default connection options.

Functions

void __nopoll_conn_opts_release_if_needed (noPollConnOpts *options)
 internal API More...
 
void nopoll_conn_opts_free (noPollConnOpts *opts)
 Allows to release a connection object reported by nopoll_conn_opts_new. More...
 
noPollConnOptsnopoll_conn_opts_new (void)
 Create a new connection options object. More...
 
nopoll_bool nopoll_conn_opts_ref (noPollConnOpts *opts)
 Allows to increase a reference to the connection options provided. More...
 
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. More...
 
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. More...
 
void nopoll_conn_opts_set_interface (noPollConnOpts *opts, const char *_interface)
 Allows the user to configure the interface to bind the connection to. More...
 
void nopoll_conn_opts_set_reuse (noPollConnOpts *opts, nopoll_bool reuse)
 Set reuse-flag be used on the API receiving this configuration object. More...
 
nopoll_bool nopoll_conn_opts_set_ssl_certs (noPollConnOpts *opts, const char *certificate, const char *private_key, const char *chain_certificate, const char *ca_certificate)
 Allows to certificate, private key and optional chain certificate and ca for on a particular options that can be used for a client and a listener connection. More...
 
void nopoll_conn_opts_set_ssl_protocol (noPollConnOpts *opts, noPollSslProtocol ssl_protocol)
 Set ssl protocol method to be used on the API receiving this configuration object. More...
 
void nopoll_conn_opts_skip_origin_check (noPollConnOpts *opts, nopoll_bool skip_check)
 Allows to skip origin check for an incoming connection. More...
 
void nopoll_conn_opts_ssl_peer_verify (noPollConnOpts *opts, nopoll_bool verify)
 Allows to disable peer ssl certificate verification. More...
 
void nopoll_conn_opts_unref (noPollConnOpts *opts)
 Allows to unref a reference acquired by nopoll_conn_opts_ref. More...
 

Detailed Description