114 #pragma pack(push, 1) 129 memset(
this, 0,
sizeof(*
this) );
138 memset(
this, 0,
sizeof(*
this) );
141 template <
typename _Ty >
144 return reinterpret_cast<_Ty*
>(
this + 1 );
150 #pragma pack(push, 2) 158 memset(
this, 0,
sizeof(*
this) );
161 template <
typename _Ty >
164 return reinterpret_cast<_Ty*
>(
this + 1 );
175 memset(
this, 0,
sizeof(*
this) );
178 template <
typename _Ty >
181 return reinterpret_cast<_Ty*
>(
this + 1 );
193 memset(
this, 0,
sizeof(*
this) );
196 template <
typename _Ty >
199 return reinterpret_cast<_Ty*
>(
this + 1 );
210 memset(
this, 0,
sizeof(*
this) );
213 template <
typename _Ty >
216 return reinterpret_cast<_Ty*
>(
this + 1 );
228 memset(
this, 0,
sizeof(*
this) );
231 template <
typename _Ty >
234 return reinterpret_cast<_Ty*
>(
this + 1 );
242 template <
typename _Ty >
245 return reinterpret_cast<_Ty*
>(
this + 1 );
269 ttDoProcessWebSocketFrameTask
284 using HttpServer::HttpServer;
XString< char > AnsiString
#define HTTPWRAPPER_FUNC_DECL(ret)
winux::uint16 extendedPayloadLen
winux::uint64 extendedPayloadLen
std::vector< winux::Buffer > BuildFramesFromData(OpCode opcode, bool mask, winux::Buffer payloadData=winux::Buffer(), size_t perFrameMaxPayloadSize=-1)
winux::uint16 extendedPayloadLen
缓冲区,表示内存中一块二进制数据(利用malloc/realloc进行内存分配)
winux::Buffer BuildFrame(OpCode opcode, bool fin, bool mask, winux::byte *payloadData=nullptr, size_t payloadDataSize=0)
#define DEFINE_CUSTOM_EVENT(evtname, paramtypes, calledparams)
WebSocketErrorCode
WebSocket错误码
winux::uint64 extendedPayloadLen