Audacity  3.0.3
Namespaces | Classes | Typedefs | Enumerations | Variables
audacity::network_manager Namespace Reference

Namespaces

 anonymous_namespace{CurlHandleManager.cpp}
 
 anonymous_namespace{CurlResponse.cpp}
 

Classes

struct  Cookie
 
class  CookiesList
 
class  CurlHandleManager
 
class  CurlResponse
 
class  CurlResponseFactory
 
class  CurlStringList
 
struct  Header
 
class  HeadersList
 
class  IResponse
 Interface, that provides access to the data from the HTTP response. More...
 
class  IResponseFactory
 
class  NetworkManager
 
class  Request
 

Typedefs

using ExpiresTime = std::chrono::system_clock::time_point
 
using ResponsePtr = std::shared_ptr< IResponse >
 

Enumerations

enum  NetworkError {
  NetworkError::NoError, NetworkError::BadURL, NetworkError::ConnectionFailed, NetworkError::ConnectionRefused,
  NetworkError::RemoteHostClosed, NetworkError::HostNotFound, NetworkError::Timeout, NetworkError::OperationCancelled,
  NetworkError::SSLHandshakeFailed, NetworkError::TooManyRedirects, NetworkError::ProxyConnectionFailed, NetworkError::ProxyNotFound,
  NetworkError::UnknownError, NetworkError::HTTPError
}
 
enum  RequestVerb {
  RequestVerb::Head, RequestVerb::Get, RequestVerb::Post, RequestVerb::Put,
  RequestVerb::Delete
}
 

Variables

constexpr decltype(std::thread::hardware_concurrency()) MIN_CURL_THREADS = 6
 

Typedef Documentation

◆ ExpiresTime

using audacity::network_manager::ExpiresTime = typedef std::chrono::system_clock::time_point

Definition at line 24 of file CookiesList.h.

◆ ResponsePtr

Definition at line 24 of file IResponseFactory.h.

Enumeration Type Documentation

◆ NetworkError

Enumerator
NoError 
BadURL 
ConnectionFailed 
ConnectionRefused 
RemoteHostClosed 
HostNotFound 
Timeout 
OperationCancelled 
SSLHandshakeFailed 
TooManyRedirects 
ProxyConnectionFailed 
ProxyNotFound 
UnknownError 
HTTPError 

Definition at line 29 of file IResponse.h.

◆ RequestVerb

Enumerator
Head 
Get 
Post 
Put 
Delete 

Definition at line 26 of file IResponseFactory.h.

27 {
28  Head,
29  Get,
30  Post,
31  Put,
32  Delete
33 };

Variable Documentation

◆ MIN_CURL_THREADS

constexpr decltype(std::thread::hardware_concurrency ()) audacity::network_manager::MIN_CURL_THREADS = 6
constexpr

Definition at line 22 of file CurlResponseFactory.cpp.

audacity::network_manager::RequestVerb::Post
@ Post
audacity::network_manager::NetworkError::HTTPError
@ HTTPError
audacity::network_manager::NetworkError::BadURL
@ BadURL
audacity::network_manager::NetworkError::Timeout
@ Timeout
audacity::network_manager::RequestVerb::Delete
@ Delete
audacity::network_manager::NetworkError::SSLHandshakeFailed
@ SSLHandshakeFailed
audacity::network_manager::NetworkError::RemoteHostClosed
@ RemoteHostClosed
audacity::network_manager::NetworkError::ConnectionRefused
@ ConnectionRefused
audacity::network_manager::NetworkError::ProxyConnectionFailed
@ ProxyConnectionFailed
audacity::network_manager::RequestVerb::Put
@ Put
BasicUI::Get
Services * Get()
Fetch the global instance, or nullptr if none is yet installed.
Definition: BasicUI.cpp:26
audacity::network_manager::RequestVerb::Head
@ Head
audacity::network_manager::NetworkError::NoError
@ NoError
audacity::network_manager::NetworkError::ProxyNotFound
@ ProxyNotFound
audacity::network_manager::NetworkError::OperationCancelled
@ OperationCancelled
audacity::network_manager::NetworkError::TooManyRedirects
@ TooManyRedirects
audacity::network_manager::NetworkError::UnknownError
@ UnknownError
audacity::network_manager::NetworkError::HostNotFound
@ HostNotFound
audacity::network_manager::NetworkError::ConnectionFailed
@ ConnectionFailed