SNode.C
Loading...
Searching...
No Matches
web::http::client::commands::SendHeaderCommand Class Reference

#include <SendHeaderCommand.h>

Inheritance diagram for web::http::client::commands::SendHeaderCommand:
Collaboration diagram for web::http::client::commands::SendHeaderCommand:

Public Member Functions

 SendHeaderCommand ()
 ~SendHeaderCommand () override=default
bool execute (const std::shared_ptr< MasterRequest > &request) override
Public Member Functions inherited from web::http::client::RequestCommand
 RequestCommand (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &onResponseReceived, const std::function< void(const std::shared_ptr< Request > &, const std::string &)> &onResponseParseError)
 RequestCommand (const RequestCommand &)=delete
 RequestCommand (RequestCommand &&) noexcept=delete
RequestCommandoperator= (const RequestCommand &)=delete
RequestCommandoperator= (RequestCommand &&) noexcept=delete
virtual ~RequestCommand ()
bool getError () const

Additional Inherited Members

Public Attributes inherited from web::http::client::RequestCommand
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> onResponseReceived
const std::function< void(const std::shared_ptr< Request > &, const std::string &)> onResponseParseError
Protected Attributes inherited from web::http::client::RequestCommand
bool error = false

Detailed Description

Definition at line 52 of file SendHeaderCommand.h.

Constructor & Destructor Documentation

◆ SendHeaderCommand()

web::http::client::commands::SendHeaderCommand::SendHeaderCommand ( )

Definition at line 52 of file SendHeaderCommand.cpp.

53 : web::http::client::RequestCommand({}, {}) {
54 }

References web::http::client::RequestCommand::RequestCommand().

Referenced by web::http::client::MasterRequest::sendHeader().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~SendHeaderCommand()

web::http::client::commands::SendHeaderCommand::~SendHeaderCommand ( )
overridedefault

Member Function Documentation

◆ execute()

bool web::http::client::commands::SendHeaderCommand::execute ( const std::shared_ptr< MasterRequest > & request)
overridevirtual

Implements web::http::client::RequestCommand.

Definition at line 56 of file SendHeaderCommand.cpp.

56 {
57 return request->executeSendHeader();
58 }

References web::http::client::MasterRequest::executeSendHeader().

Here is the call graph for this function:

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