Perform the WebSocket closing handshake and close the underlying stream.
void close( close_reason const& cr); » more... void close( close_reason const& cr, error_code& ec); » more...
more...