fastdo  0.6.8
eiennet_websocket.hpp 文件参考
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

struct  eiennet::old_v1::ws::FrameBase
 WS帧基类 更多...
 
struct  eiennet::old_v1::ws::FrameBasic
 
struct  eiennet::old_v1::ws::FrameBasicMasked
 
struct  eiennet::old_v1::ws::FrameExtended16
 
struct  eiennet::old_v1::ws::FrameExtended16Masked
 
struct  eiennet::old_v1::ws::FrameExtended64
 
struct  eiennet::old_v1::ws::FrameExtended64Masked
 
struct  eiennet::old_v1::ws::CloseFramePayloadData
 
struct  eiennet::old_v1::ws::WebSocketWrapper
 WebSocket场景包装 更多...
 
class  eiennet::old_v1::ws::WsHttpClientCtx
 WsHTTP客户场景 更多...
 
class  eiennet::old_v1::ws::WsHttpServer< _ClientCtx >
 WsHTTP服务端 更多...
 

命名空间

 eiennet
 网络通信库
 
 eiennet::old_v1
 旧版本实现
 
 eiennet::old_v1::ws
 WebSocket封装
 

枚举

enum  eiennet::old_v1::ws::OpCode : winux::uint {
  eiennet::old_v1::ws::dataContinued = 0x0U, eiennet::old_v1::ws::dataText = 0x1U, eiennet::old_v1::ws::dataBinary = 0x2U, eiennet::old_v1::ws::dataRsv3 = 0x3U,
  eiennet::old_v1::ws::dataRsv4 = 0x4U, eiennet::old_v1::ws::dataRsv5 = 0x5U, eiennet::old_v1::ws::dataRsv6 = 0x6U, eiennet::old_v1::ws::dataRsv7 = 0x7U,
  eiennet::old_v1::ws::ctrlClose = 0x8U, eiennet::old_v1::ws::ctrlPing = 0x9U, eiennet::old_v1::ws::ctrlPong = 0xAU, eiennet::old_v1::ws::ctrlRsvB = 0xBU,
  eiennet::old_v1::ws::ctrlRsvC = 0xCU, eiennet::old_v1::ws::ctrlRsvD = 0xDU, eiennet::old_v1::ws::ctrlRsvE = 0xEU, eiennet::old_v1::ws::ctrlRsvF = 0xFU
}
 操作码 更多...
 
enum  eiennet::old_v1::ws::WebSocketErrorCode { eiennet::old_v1::ws::errNothing, eiennet::old_v1::ws::errCnnUnexpectedInvalid }
 WebSocket错误码 更多...
 
enum  eiennet::old_v1::ws::FrameType {
  eiennet::old_v1::ws::ftBasic = 0b0010, eiennet::old_v1::ws::ftBasicMasked = 0b0011, eiennet::old_v1::ws::ftExtended16 = 0b0100, eiennet::old_v1::ws::ftExtended16Masked = 0b0101,
  eiennet::old_v1::ws::ftExtended64 = 0b1000, eiennet::old_v1::ws::ftExtended64Masked = 0b1001
}
 数据帧类型 更多...
 
enum  eiennet::old_v1::ws::ReadyState { eiennet::old_v1::ws::stateConnecting, eiennet::old_v1::ws::stateOpen, eiennet::old_v1::ws::stateClosing, eiennet::old_v1::ws::stateClosed }
 就绪状态 更多...
 

函数

bool eiennet::old_v1::ws::SendWebSocketFrame (eiennet::Socket *sock, OpCode opcode, bool fin, bool mask, winux::byte *payloadData=nullptr, size_t payloadDataSize=0)
 
bool eiennet::old_v1::ws::SendWebSocketBuffer (eiennet::Socket *sock, OpCode opcode, bool mask, winux::Buffer payloadData=winux::Buffer(), size_t perFrameMaxPayloadSize=-1)
 
bool eiennet::old_v1::ws::SendWebSocketAnsi (eiennet::Socket *sock, OpCode opcode, bool mask, winux::AnsiString payloadData=winux::AnsiString(), size_t perFrameMaxPayloadSize=-1)