![]() |
Project
|
Inherits o2::framework::WebSocketHandler.
Public Member Functions | |
| void | frame (const char *f, size_t s) final |
Public Member Functions inherited from o2::framework::WebSocketHandler | |
| virtual | ~WebSocketHandler ()=default |
| virtual void | headers (std::map< std::string, std::string > const &headers) |
| Invoked when all the headers are received. | |
| virtual void | beginFragmentation () |
| FIXME: not implemented. | |
| virtual void | beginChunk () |
| Invoked before processing the next round of input. | |
| virtual void | endChunk () |
| Invoked whenever we have no more input to process. | |
| virtual void | endFragmentation () |
| FIXME: not implemented. | |
| virtual void | control (char const *frame, size_t s) |
| FIXME: not implemented. | |
Public Attributes | |
| std::vector< char const * > | mFrame |
| std::vector< size_t > | mSize |
Public Attributes inherited from o2::framework::WebSocketHandler | |
| size_t | remainingSize = 0 |
| Bytes which are still to be received for the previous, half delivered frame. | |
| size_t | pendingSize = 0 |
| Bytes which are already there from the previous, half delivered frame. | |
| char * | pendingBuffer = nullptr |
| A buffer large enough to contain the next frame to be processed. | |
| size_t | pendingHeaderSize = 0 |
| Bytes from an incomplete header. | |
| char * | pendingHeader = nullptr |
Definition at line 80 of file test_HTTPParser.cxx.
Invoked when a frame it's parsed. Notice you do not own the data and you must not free the memory.
Reimplemented from o2::framework::WebSocketHandler.
Definition at line 85 of file test_HTTPParser.cxx.
| std::vector<char const*> TestWSHandler::mFrame |
Definition at line 83 of file test_HTTPParser.cxx.
| std::vector<size_t> TestWSHandler::mSize |
Definition at line 84 of file test_HTTPParser.cxx.