TCivetwebWSEngine.
Implementation of THttpWSEngine for Civetweb
Definition at line 32 of file TCivetweb.cxx.
|
| TCivetwebWSEngine (struct mg_connection *conn) |
|
| ~TCivetwebWSEngine () override=default |
|
void | ClearHandle (Bool_t terminate) override |
|
UInt_t | GetId () const override |
|
void | Send (const void *buf, int len) override |
|
void | SendCharStar (const char *str) override |
| Envelope for sending string via the websocket.
|
|
void | SendHeader (const char *hdr, const void *buf, int len) override |
| Special method to send binary data with text header For normal websocket it is two separated operation, for other engines could be combined together, but emulates as two messages on client side.
|
|
virtual | ~THttpWSEngine ()=default |
|
virtual void | PostProcess (std::shared_ptr< THttpCallArg > &arg) |
| Method invoked after user process data received via websocket.
|
|
virtual Bool_t | PreProcess (std::shared_ptr< THttpCallArg > &arg) |
| Method should be invoked before processing data coming from websocket If method returns kTRUE, data is processed internally and not dedicated for further usage.
|
|
◆ TCivetwebWSEngine()
TCivetwebWSEngine::TCivetwebWSEngine |
( |
struct mg_connection * |
conn | ) |
|
|
inline |
◆ ~TCivetwebWSEngine()
TCivetwebWSEngine::~TCivetwebWSEngine |
( |
| ) |
|
|
overridedefault |
◆ ClearHandle()
void TCivetwebWSEngine::ClearHandle |
( |
Bool_t |
terminate | ) |
|
|
inlineoverridevirtual |
◆ GetId()
UInt_t TCivetwebWSEngine::GetId |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ Send()
void TCivetwebWSEngine::Send |
( |
const void * |
buf, |
|
|
int |
len |
|
) |
| |
|
inlineoverridevirtual |
◆ SendCharStar()
void TCivetwebWSEngine::SendCharStar |
( |
const char * |
str | ) |
|
|
inlineoverridevirtual |
◆ SendHeader()
void TCivetwebWSEngine::SendHeader |
( |
const char * |
hdr, |
|
|
const void * |
buf, |
|
|
int |
len |
|
) |
| |
|
inlineoverridevirtual |
Special method to send binary data with text header For normal websocket it is two separated operation, for other engines could be combined together, but emulates as two messages on client side.
Implements THttpWSEngine.
Definition at line 63 of file TCivetweb.cxx.
◆ SupportSendThrd()
Bool_t TCivetwebWSEngine::SupportSendThrd |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ fWSconn
net/http/src/TCivetweb.cxx