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 47 of file httplowlevelclient.cpp.

47 {
49 socketContext,
50 []() {
51 VLOG(1) << "++ OnStarted";
52 },
53 []([[maybe_unused]] web::http::client::Response&& res) {
54 VLOG(1) << "++ OnParsed";
55 },
56 [](int status, const std::string& reason) {
57 VLOG(1) << "++ OnError: " + std::to_string(status) + " - " + reason;
58 });
59
60 return responseParser;
61 }