Methodology | Return Type | Description |
void | Close connection. | |
void | Listen for message events and process events according to the callback; the list of events currently supported by PTS is as follows: Open: Establish the connection. Close: Close the connection. Message: Receive text messages. binaryMessage: Receive binary messages. pong: Receive pong messages. ping: Receive ping messages. | |
void | Send ping messages. | |
void | Send text messages. | |
void | Send binary messages. | |
void | Set the polling function. | |
void | Set the loop executed function. | |
void | Set the timeout function. |