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

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

Detailed Description

CURLOPT_CONNECT_TO argument for curl's connect_to().

Warning
ConnectTo passed to connect_to() must outlive http's Request as it holds curl's slist value.

Definition at line 20 of file connect_to.hpp.

Public Member Functions

 ConnectTo (ConnectTo &&) noexcept
 
 ConnectTo (const ConnectTo &)=delete
 
 ConnectTo (const std::string &value)
 
ConnectTooperator= (const ConnectTo &)=delete
 
ConnectTooperator= (ConnectTo &&) noexcept
 
curl::native::curl_slist * GetUnderlying () const noexcept
 

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