void nopoll_conn_close ( noPollConn conn)

Allows to close an opened noPollConn no matter its role (noPollRole).

Parameters
connThe connection to close.

There is available an alternative extended version that allows to send the status code and the error message: nopoll_conn_close_ext

References nopoll_conn_close_ext().