SNode.C
Loading...
Searching...
No Matches
web::http::client::RequestCommand Class Referenceabstract

#include <RequestCommand.h>

Inheritance diagram for web::http::client::RequestCommand:
Collaboration diagram for web::http::client::RequestCommand:

Public Member Functions

 RequestCommand ()=default
 
 RequestCommand (const RequestCommand &)=delete
 
 RequestCommand (RequestCommand &&) noexcept=delete
 
RequestCommandoperator= (const RequestCommand &)=delete
 
RequestCommandoperator= (RequestCommand &&) noexcept=delete
 
virtual ~RequestCommand ()
 
virtual bool execute (Request *request)=0
 
bool getError () const
 

Protected Attributes

bool error = false
 

Detailed Description

Definition at line 54 of file RequestCommand.h.

Constructor & Destructor Documentation

◆ RequestCommand() [1/3]

web::http::client::RequestCommand::RequestCommand ( )
default

◆ RequestCommand() [2/3]

web::http::client::RequestCommand::RequestCommand ( const RequestCommand )
delete

◆ RequestCommand() [3/3]

web::http::client::RequestCommand::RequestCommand ( RequestCommand &&  )
deletenoexcept

◆ ~RequestCommand()

web::http::client::RequestCommand::~RequestCommand ( )
virtual

Definition at line 49 of file RequestCommand.cpp.

49 {
50 }

Member Function Documentation

◆ execute()

virtual bool web::http::client::RequestCommand::execute ( Request request)
pure virtual

Implemented in web::http::client::commands::EndCommand, web::http::client::commands::SendFileCommand, web::http::client::commands::SendFragmentCommand, web::http::client::commands::SendHeaderCommand, and web::http::client::commands::UpgradeCommand.

Referenced by web::http::client::Request::initiate().

Here is the caller graph for this function:

◆ getError()

bool web::http::client::RequestCommand::getError ( ) const

Definition at line 52 of file RequestCommand.cpp.

52 {
53 return error;
54 }

References error.

Referenced by web::http::client::Request::initiate().

Here is the caller graph for this function:

◆ operator=() [1/2]

RequestCommand & web::http::client::RequestCommand::operator= ( const RequestCommand )
delete

◆ operator=() [2/2]

RequestCommand & web::http::client::RequestCommand::operator= ( RequestCommand &&  )
deletenoexcept

Member Data Documentation

◆ error

bool web::http::client::RequestCommand::error = false
protected

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