|  | Home | Libraries | People | FAQ | More | 
Send a WebSocket pong frame.
void pong( ping_data const& payload, error_code& ec);
This function is used to synchronously send a pong frame on the stream. The call blocks until one of the following is true:
            This function is implemented in terms of one or more calls to the next
            layer's write_some functions.
          
The WebSocket protocol allows pong frames to be sent from either end at any time. It is not necessary to first receive a ping in order to send a pong. The remote peer may use the receipt of a pong frame as an indication that the connection is not dead.
| Name | Description | 
|---|---|
| 
                       | The payload of the pong message, which may be empty. | 
| 
                       | Set to indicate what error occurred, if any. |