SNode.C
Loading...
Searching...
No Matches
apps::http Namespace Reference

Namespaces

namespace  legacy
 
namespace  tls
 

Classes

class  SimpleSocketProtocol
 
class  SimpleSocketProtocolFactory
 

Functions

static web::http::client::ResponseParsergetResponseParser (core::socket::stream::SocketContext *socketContext)
 

Function Documentation

◆ getResponseParser()

static web::http::client::ResponseParser * apps::http::getResponseParser ( core::socket::stream::SocketContext socketContext)
static

Definition at line 69 of file httplowlevelclient.cpp.

69 {
71 socketContext,
72 []() {
73 VLOG(1) << "++ OnStarted";
74 },
75 []([[maybe_unused]] web::http::client::Response&& res) {
76 VLOG(1) << "++ OnParsed";
77 },
78 [](int status, const std::string& reason) {
79 VLOG(1) << "++ OnError: " + std::to_string(status) + " - " + reason;
80 });
81
82 return responseParser;
83 }

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

Referenced by apps::http::SimpleSocketProtocol::SimpleSocketProtocol().

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