void nopoll_conn_opts_skip_origin_check ( noPollConnOpts opts,
nopoll_bool  skip_check 
)

Allows to skip origin check for an incoming connection.

This option is highly not recommended because the Origin header must be provided by all WebSocket clients so the the server side can check it.

In most environments not doing so will make the connection to not succeed.

Use this option just in development environment.

Parameters
optsThe connection options to configure.
skip_checknopoll_bool Skip header check