Project
Loading...
Searching...
No Matches
DPLClientParser Class Reference

Inherits o2::framework::HTTPParser.

Public Member Functions

void replyMessage (std::string_view const &s) override
 
void replyCode (std::string_view const &s) override
 
void replyVersion (std::string_view const &s) override
 
void header (std::string_view const &k, std::string_view const &v) override
 
void body (char *buf, size_t s) override
 
- Public Member Functions inherited from o2::framework::HTTPParser
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 endHeaders ()
 

Public Attributes

std::string mReplyVersion
 
std::string mReplyCode
 
std::string mReplyMessage
 
std::string mBody
 
std::map< std::string, std::string > mHeaders
 
- Public Attributes inherited from o2::framework::HTTPParser
std::string remaining
 
std::string error
 
std::vector< HTTPStatestates
 

Detailed Description

Definition at line 50 of file test_HTTPParser.cxx.

Member Function Documentation

◆ body()

void DPLClientParser::body ( char data,
size_t  s 
)
inlineoverridevirtual

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 from o2::framework::HTTPParser.

Definition at line 76 of file test_HTTPParser.cxx.

◆ header()

void DPLClientParser::header ( std::string_view const &  k,
std::string_view const &  v 
)
inlineoverridevirtual

Reimplemented from o2::framework::HTTPParser.

Definition at line 72 of file test_HTTPParser.cxx.

◆ replyCode()

void DPLClientParser::replyCode ( std::string_view const &  s)
inlineoverridevirtual

Reimplemented from o2::framework::HTTPParser.

Definition at line 63 of file test_HTTPParser.cxx.

◆ replyMessage()

void DPLClientParser::replyMessage ( std::string_view const &  s)
inlineoverridevirtual

Reimplemented from o2::framework::HTTPParser.

Definition at line 59 of file test_HTTPParser.cxx.

◆ replyVersion()

void DPLClientParser::replyVersion ( std::string_view const &  s)
inlineoverridevirtual

Reimplemented from o2::framework::HTTPParser.

Definition at line 67 of file test_HTTPParser.cxx.

Member Data Documentation

◆ mBody

std::string DPLClientParser::mBody

Definition at line 56 of file test_HTTPParser.cxx.

◆ mHeaders

std::map<std::string, std::string> DPLClientParser::mHeaders

Definition at line 57 of file test_HTTPParser.cxx.

◆ mReplyCode

std::string DPLClientParser::mReplyCode

Definition at line 54 of file test_HTTPParser.cxx.

◆ mReplyMessage

std::string DPLClientParser::mReplyMessage

Definition at line 55 of file test_HTTPParser.cxx.

◆ mReplyVersion

std::string DPLClientParser::mReplyVersion

Definition at line 53 of file test_HTTPParser.cxx.


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