userver: s3api::ConnectionCfg Struct Reference
Loading...
Searching...
No Matches
s3api::ConnectionCfg Struct Reference

#include <userver/s3api/clients/s3api.hpp>

Detailed Description

Connection settings - retries, timeouts, and so on.

Examples
samples/s3api/src/s3api_client.cpp.

Definition at line 43 of file s3api.hpp.

Public Member Functions

 ConnectionCfg (std::chrono::milliseconds s3timeout, int s3retries=1, std::optional< std::string > proxy={})
 

Public Attributes

std::chrono::milliseconds timeout {1000}
 
int retries = 1
 
std::optional< std::string > proxy {}
 

Constructor & Destructor Documentation

◆ ConnectionCfg()

s3api::ConnectionCfg::ConnectionCfg ( std::chrono::milliseconds s3timeout,
int s3retries = 1,
std::optional< std::string > proxy = {} )
inlineexplicit

Definition at line 44 of file s3api.hpp.

Member Data Documentation

◆ proxy

std::optional<std::string> s3api::ConnectionCfg::proxy {}

Definition at line 53 of file s3api.hpp.

◆ retries

int s3api::ConnectionCfg::retries = 1

Definition at line 52 of file s3api.hpp.

◆ timeout

std::chrono::milliseconds s3api::ConnectionCfg::timeout {1000}

Definition at line 51 of file s3api.hpp.


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