Project
Loading...
Searching...
No Matches
o2::framework::HTTPParser Struct Reference

#include <HTTPParser.h>

Inherited by DPLClientParser, DPLParser, o2::framework::WSDPLClient, and o2::framework::WSDPLHandler.

Public Member Functions

virtual void method (std::string_view const &s)
 
virtual void target (std::string_view const &s)
 
virtual void version (std::string_view const &s)
 
virtual void header (std::string_view const &k, std::string_view const &v)
 
virtual void endHeaders ()
 
virtual void body (char *data, size_t s)
 
virtual void replyVersion (std::string_view const &s)
 
virtual void replyCode (std::string_view const &s)
 
virtual void replyMessage (std::string_view const &s)
 

Public Attributes

std::string remaining
 
std::string error
 
std::vector< HTTPStatestates
 

Detailed Description

Definition at line 203 of file HTTPParser.h.

Member Function Documentation

◆ body()

virtual void o2::framework::HTTPParser::body ( char data,
size_t  s 
)
inlinevirtual

Invoked whenever we are parsing data. In order to allow for xoring (as required by the websocket standard) in place, we pass it as a mutable pointer.

Reimplemented in DPLParser, DPLClientParser, o2::framework::WSDPLHandler, and o2::framework::WSDPLClient.

Definition at line 215 of file HTTPParser.h.

◆ endHeaders()

virtual void o2::framework::HTTPParser::endHeaders ( )
inlinevirtual

Reimplemented in o2::framework::WSDPLHandler, and o2::framework::WSDPLClient.

Definition at line 211 of file HTTPParser.h.

◆ header()

virtual void o2::framework::HTTPParser::header ( std::string_view const &  k,
std::string_view const &  v 
)
inlinevirtual

◆ method()

virtual void o2::framework::HTTPParser::method ( std::string_view const &  s)
inlinevirtual

Reimplemented in DPLParser, and o2::framework::WSDPLHandler.

Definition at line 207 of file HTTPParser.h.

◆ replyCode()

virtual void o2::framework::HTTPParser::replyCode ( std::string_view const &  s)
inlinevirtual

Reimplemented in o2::framework::WSDPLClient, and DPLClientParser.

Definition at line 217 of file HTTPParser.h.

◆ replyMessage()

virtual void o2::framework::HTTPParser::replyMessage ( std::string_view const &  s)
inlinevirtual

Reimplemented in DPLClientParser.

Definition at line 218 of file HTTPParser.h.

◆ replyVersion()

virtual void o2::framework::HTTPParser::replyVersion ( std::string_view const &  s)
inlinevirtual

Reimplemented in o2::framework::WSDPLClient, and DPLClientParser.

Definition at line 216 of file HTTPParser.h.

◆ target()

virtual void o2::framework::HTTPParser::target ( std::string_view const &  s)
inlinevirtual

Reimplemented in DPLParser, and o2::framework::WSDPLHandler.

Definition at line 208 of file HTTPParser.h.

◆ version()

virtual void o2::framework::HTTPParser::version ( std::string_view const &  s)
inlinevirtual

Reimplemented in DPLParser.

Definition at line 209 of file HTTPParser.h.

Member Data Documentation

◆ error

std::string o2::framework::HTTPParser::error

Definition at line 205 of file HTTPParser.h.

◆ remaining

std::string o2::framework::HTTPParser::remaining

Definition at line 204 of file HTTPParser.h.

◆ states

std::vector<HTTPState> o2::framework::HTTPParser::states

Definition at line 206 of file HTTPParser.h.


The documentation for this struct was generated from the following file: