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()

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

Definition at line 68 of file httplowlevelclient.cpp.

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

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: