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

浏览源代码.

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

命名空间

 http
 HTTP协议的相关简单类封装
 
 http::old_v1
 HTTP服务相关旧的实现
 
 http::old_v1::ws
 WebSocket封装
 

宏定义

#define RESPONSE_HANDLER_PARAMS   http::old_v1::HttpServer::ClientCtxSharedPointer & clientCtxPtr, http::Header const & reqHdr, http::Url const & url, http::Header & rspHdr, std::ostream & rspOut
 

枚举

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

函数

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

宏定义说明

#define RESPONSE_HANDLER_PARAMS   http::old_v1::HttpServer::ClientCtxSharedPointer & clientCtxPtr, http::Header const & reqHdr, http::Url const & url, http::Header & rspHdr, std::ostream & rspOut

在文件 http_old.hpp61 行定义.