Audacity 3.2.0
Classes | Namespaces | Enumerations
IResponse.h File Reference

Declare an interface for HTTP response. More...

#include <string>
#include <cstdint>
#include <vector>
#include <functional>
#include "NetworkManagerApi.h"
#include "concurrency/ICancellable.h"
Include dependency graph for IResponse.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  audacity::network_manager::IResponse
 Interface, that provides access to the data from the HTTP response. More...
 

Namespaces

namespace  audacity
 
namespace  audacity::network_manager
 
namespace  audacity::network_manager::HttpCode
 

Enumerations

enum class  audacity::network_manager::NetworkError {
  audacity::network_manager::NoError , audacity::network_manager::BadURL , audacity::network_manager::ConnectionFailed , audacity::network_manager::ConnectionRefused ,
  audacity::network_manager::RemoteHostClosed , audacity::network_manager::HostNotFound , audacity::network_manager::Timeout , audacity::network_manager::OperationCancelled ,
  audacity::network_manager::SSLHandshakeFailed , audacity::network_manager::TooManyRedirects , audacity::network_manager::ProxyConnectionFailed , audacity::network_manager::ProxyNotFound ,
  audacity::network_manager::UnknownError , audacity::network_manager::HTTPError
}
 
enum  {
  audacity::network_manager::HttpCode::Continue = 100 , audacity::network_manager::HttpCode::SwitchingProtocols = 101 , audacity::network_manager::HttpCode::Processing = 102 , audacity::network_manager::HttpCode::EarlyHints = 103 ,
  audacity::network_manager::HttpCode::OK = 200 , audacity::network_manager::HttpCode::Created = 201 , audacity::network_manager::HttpCode::Accepted = 202 , audacity::network_manager::HttpCode::NonAuthoritativeInformation = 203 ,
  audacity::network_manager::HttpCode::NoContent = 204 , audacity::network_manager::HttpCode::ResetContent = 205 , audacity::network_manager::HttpCode::PartialContent = 206 , audacity::network_manager::HttpCode::MultipleChoices = 300 ,
  audacity::network_manager::HttpCode::MovedPermanently = 301 , audacity::network_manager::HttpCode::Found = 302 , audacity::network_manager::HttpCode::SeeOther = 303 , audacity::network_manager::HttpCode::NotModified = 304 ,
  audacity::network_manager::HttpCode::TemporaryRedirect = 307 , audacity::network_manager::HttpCode::PermanentRedirect = 308 , audacity::network_manager::HttpCode::BadRequest = 400 , audacity::network_manager::HttpCode::Unauthorized = 401 ,
  audacity::network_manager::HttpCode::PaymentRequired = 402 , audacity::network_manager::HttpCode::Forbidden = 403 , audacity::network_manager::HttpCode::NotFound = 404 , audacity::network_manager::HttpCode::MethodNotAllowed = 405 ,
  audacity::network_manager::HttpCode::NotAcceptable = 406 , audacity::network_manager::HttpCode::RequestTimeout = 408 , audacity::network_manager::HttpCode::Conflict = 409 , audacity::network_manager::HttpCode::Gone = 410 ,
  audacity::network_manager::HttpCode::LengthRequired = 411 , audacity::network_manager::HttpCode::PayloadTooLarge = 413 , audacity::network_manager::HttpCode::URITooLong = 414 , audacity::network_manager::HttpCode::UnsupportedMediaType = 415 ,
  audacity::network_manager::HttpCode::RangeNotSatisfiable = 416 , audacity::network_manager::HttpCode::ExpectationFailed = 417 , audacity::network_manager::HttpCode::MisdirectedRequest = 421 , audacity::network_manager::HttpCode::UnprocessableEntity = 422 ,
  audacity::network_manager::HttpCode::Locked = 423 , audacity::network_manager::HttpCode::FailedDependency = 424 , audacity::network_manager::HttpCode::TooEarly = 425 , audacity::network_manager::HttpCode::UpgradeRequired = 426 ,
  audacity::network_manager::HttpCode::PreconditionRequired = 428 , audacity::network_manager::HttpCode::TooManyRequests = 429 , audacity::network_manager::HttpCode::RequestHeaderFieldsTooLarge = 431 , audacity::network_manager::HttpCode::InternalServerError = 500 ,
  audacity::network_manager::HttpCode::NotImplemented = 501 , audacity::network_manager::HttpCode::BadGateway = 502 , audacity::network_manager::HttpCode::ServiceUnavailable = 503 , audacity::network_manager::HttpCode::GatewayTimeout = 504 ,
  audacity::network_manager::HttpCode::HTTPVersionNotSupported = 505 , audacity::network_manager::HttpCode::NetworkAuthenticationRequired = 511
}
 

Detailed Description

Declare an interface for HTTP response.

Declare an interface for HTTP response factory.


Audacity: A Digital Audio Editor

Dmitry Vedenko

Definition in file IResponse.h.