|
SNode.C
|
#include <SseCommand.h>
Public Member Functions | |
| SseCommand (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) | |
| ~SseCommand () override | |
| 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 | |
| RequestCommand & | operator= (const RequestCommand &)=delete |
| RequestCommand & | operator= (RequestCommand &&) noexcept=delete |
| virtual | ~RequestCommand () |
| bool | getError () const |
Private Types | |
| using | Super = web::http::client::RequestCommand |
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 |
Definition at line 60 of file SseCommand.h.
Definition at line 61 of file SseCommand.h.
| web::http::client::commands::SseCommand::SseCommand | ( | 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 | ||
| ) |
Definition at line 52 of file SseCommand.cpp.
References web::http::client::RequestCommand::RequestCommand().
Referenced by web::http::client::MasterRequest::requestEventSource().
|
override |
Definition at line 57 of file SseCommand.cpp.
|
overridevirtual |
Implements web::http::client::RequestCommand.
Definition at line 60 of file SseCommand.cpp.
References web::http::client::MasterRequest::executeSse().