userver: userver/websocket/message.hpp File Reference
Loading...
Searching...
No Matches
message.hpp File Reference

Detailed Description

WebSocket message.

Definition in file message.hpp.

Go to the source code of this file.

#include <optional>
#include <string>
+ This graph shows which files directly or indirectly include this file:

Classes

struct  websocket::Message
 WebSocket message. More...
 

Typedefs

using websocket::CloseStatusInt = int16_t
 

Enumerations

enum class  websocket::CloseStatus : CloseStatusInt {
  kNone = 0 ,
  kNormal = 1000 ,
  kGoingAway = 1001 ,
  kProtocolError = 1002 ,
  kUnsupportedData = 1003 ,
  kFrameTooLarge = 1004 ,
  kNoStatusRcvd = 1005 ,
  kAbnormalClosure = 1006 ,
  kBadMessageData = 1007 ,
  kPolicyViolation = 1008 ,
  kTooBigData = 1009 ,
  kExtensionMismatch = 1010 ,
  kServerError = 1011
}
 Close statuses. More...
 

Typedef Documentation

◆ CloseStatusInt

using websocket::CloseStatusInt = int16_t

Definition at line 13 of file message.hpp.

Enumeration Type Documentation

◆ CloseStatus

enum class websocket::CloseStatus : CloseStatusInt
strong

Close statuses.

Definition at line 16 of file message.hpp.