SNode.C
|
#include <UpgradeCommand.h>
Public Member Functions | |
UpgradeCommand (const std::string &url, const std::string &protocols) | |
~UpgradeCommand () override=default | |
bool | execute (Request *request) override |
![]() | |
RequestCommand ()=default | |
RequestCommand (const RequestCommand &)=delete | |
RequestCommand (RequestCommand &&) noexcept=delete | |
RequestCommand & | operator= (const RequestCommand &)=delete |
RequestCommand & | operator= (RequestCommand &&) noexcept=delete |
virtual | ~RequestCommand () |
bool | getError () const |
Private Attributes | |
std::string | url |
std::string | protocols |
Additional Inherited Members | |
![]() | |
bool | error = false |
Definition at line 55 of file UpgradeCommand.h.
web::http::client::commands::UpgradeCommand::UpgradeCommand | ( | const std::string & | url, |
const std::string & | protocols | ||
) |
Definition at line 52 of file UpgradeCommand.cpp.
References protocols, and url.
Referenced by web::http::client::Request::upgrade().
|
overridedefault |
|
overridevirtual |
Implements web::http::client::RequestCommand.
Definition at line 57 of file UpgradeCommand.cpp.
References web::http::client::Request::executeUpgrade(), protocols, and url.
|
private |
Definition at line 65 of file UpgradeCommand.h.
Referenced by execute(), and UpgradeCommand().
|
private |
Definition at line 64 of file UpgradeCommand.h.
Referenced by execute(), and UpgradeCommand().