Enum websocket::message::Type
[−]
[src]
pub enum Type { Text, Binary, Ping, Pong, Close, }
Valid types of messages (in the default implementation)
Variants
Text | Message with UTF8 test | |
Binary | Message containing binary data | |
Ping | Ping message with data | |
Pong | Pong message with data | |
Close | Close connection message with optional reason |