userver: s3api::S3Connection Class Reference
Loading...
Searching...
No Matches
s3api::S3Connection Class Reference

Detailed Description

Definition at line 24 of file s3_connection.hpp.

+ Inheritance diagram for s3api::S3Connection:

Public Member Functions

 S3Connection (clients::http::Client &http_client, S3ConnectionType connection_type, std::string server_url, const ConnectionCfg &params)
 
 S3Connection (const S3Connection &other)=default
 
std::shared_ptr< clients::http::ResponseRequestApi (Request &r, std::string_view method_name)
 
std::shared_ptr< clients::http::ResponseDoStartApiRequest (const Request &r) const
 
std::shared_ptr< clients::http::ResponseStartApiRequest (const Request &r) const
 
std::string GetHost () const
 
void UpdateConfig (ConnectionCfg &&config)
 

Constructor & Destructor Documentation

◆ S3Connection()

s3api::S3Connection::S3Connection ( clients::http::Client & http_client,
S3ConnectionType connection_type,
std::string server_url,
const ConnectionCfg & params )
inline

Definition at line 26 of file s3_connection.hpp.

Member Function Documentation

◆ DoStartApiRequest()

std::shared_ptr< clients::http::Response > s3api::S3Connection::DoStartApiRequest ( const Request & r) const

Definition at line 68 of file s3_connection.cpp.

◆ GetHost()

std::string s3api::S3Connection::GetHost ( ) const
inline

Definition at line 47 of file s3_connection.hpp.

◆ RequestApi()

std::shared_ptr< clients::http::Response > s3api::S3Connection::RequestApi ( Request & r,
std::string_view method_name )

Definition at line 34 of file s3_connection.cpp.

◆ StartApiRequest()

std::shared_ptr< clients::http::Response > s3api::S3Connection::StartApiRequest ( const Request & r) const

Definition at line 82 of file s3_connection.cpp.

◆ UpdateConfig()

void s3api::S3Connection::UpdateConfig ( ConnectionCfg && config)
inline

Definition at line 49 of file s3_connection.hpp.


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