userver: clients::http::ClientWithPlugins Class Reference
Loading...
Searching...
No Matches
clients::http::ClientWithPlugins Class Referencefinal

#include <userver/clients/http/client_with_plugins.hpp>

Detailed Description

HTTP client that returns a HTTP request builder from CreateRequest() with applied plugins.

Usually retrieved from components::HttpClient component. Can also be created manually using clients::http::Client::CreateHttpClient()

Definition at line 28 of file client_with_plugins.hpp.

+ Inheritance diagram for clients::http::ClientWithPlugins:

Public Member Functions

Request CreateRequest () override
 Returns a HTTP request builder type with preset values of User-Agent, plugins and some of the Testsuite stuff (if any).
 
Request CreateNotSignedRequest ()
 Providing CreateNonSignedRequest() function for the clients::Http alias.
 

Member Function Documentation

◆ CreateNotSignedRequest()

Request clients::http::Client::CreateNotSignedRequest ( )
inlineinherited

Providing CreateNonSignedRequest() function for the clients::Http alias.

Note
This method is thread-safe despite being non-const.

Definition at line 46 of file client.hpp.

◆ CreateRequest()

Request clients::http::ClientWithPlugins::CreateRequest ( )
overridevirtual

Returns a HTTP request builder type with preset values of User-Agent, plugins and some of the Testsuite stuff (if any).

Note
This method is thread-safe despite being non-const.

Implements clients::http::Client.


The documentation for this class was generated from the following file: