Namespaces | Data Structures | Enumerations | Variables

atscppapi Namespace Reference

Namespaces

namespace  transformations
namespace  utils

Data Structures

class  AsyncDispatchControllerBase
 This class represents the interface of a dispatch controller.
class  AsyncProvider
 AsyncProvider is the interface that providers of async operations must implement. More...
class  AsyncDispatchController
 Dispatch controller implementation.
class  AsyncReceiverPromise
 A promise is used to let the dispatch controller know if the receiver is still alive to receive the async complete dispatch.
class  AsyncReceiver
 AsyncReceiver is the interface that receivers of async operations must implement. More...
class  Async
 This class provides a method to create an async operation. More...
class  AsyncHttpFetch
 This class provides an implementation of AsyncProvider that makes HTTP requests asynchronously. More...
class  AsyncTimer
 This class provides an implementation of AsyncProvider that acts as a timer. More...
class  CaseInsensitiveStringComparator
 A case insensitive comparator that can be used with standard library containers. More...
class  ClientRequest
 Encapsulates a client request. More...
class  GlobalPlugin
 The interface used when creating a GlobalPlugin. More...
class  HeaderFieldName
 A HeaderFieldName is a lightweight wrapper around a string that allows for case insensitive comparisons. More...
class  header_field_value_iterator
 A header field value iterator iterates through all header fields. More...
class  header_field_iterator
 A header field iterator is an iterator that dereferences to a HeaderField. More...
class  HeaderField
 A HeaderField is a class that contains the header field name and all of the values. More...
class  Headers
 Encapsulates the headers portion of a request or response. More...
class  InterceptPlugin
 Allows a plugin to act as a server and return the response. More...
class  Logger
 Create log files that are automatically rolled and cleaned up as space is required. More...
class  Mutex
 A mutex is mutual exclusion: a blocking lock. More...
class  ScopedMutexLock
 Take a Mutex reference and lock inside a scope and unlock when the scope is exited. More...
class  ScopedSharedMutexLock
 Take a shared_ptr to a Mutex and lock inside a scope and unlock when the scope is exited. More...
class  ScopedMutexTryLock
 Take a Mutex reference and try to lock inside a scope and unlock when the scope is exited (if the lock was taken). More...
class  ScopedSharedMutexTryLock
 Take a shared_ptr to a Mutex and try to lock inside a scope and unlock when the scope is exited (if the lock was taken). More...
class  noncopyable
 noncopyable is a base class that will prevent derived classes from being copied.
class  Plugin
 The base interface used when creating a Plugin. More...
class  RemapPlugin
 Base class that remap plugins should extend. More...
class  Request
 Encapsulates a request. More...
class  Response
 Encapsulates a response. More...
class  Stat
 A Stat is an atomic variable that can be used to store counters, averages, time averages, or summations. More...
class  Transaction
 Transactions are the object containing all the state related to a HTTP Transaction. More...
class  TransactionPlugin
 The interface used when creating a TransactionPlugin. More...
class  TransformationPlugin
 The interface used when you wish to transform Request or Response body content. More...
class  Url
 This class contains all properties of a Url. More...

Enumerations

enum  HttpMethod {
  HTTP_METHOD_UNKNOWN = 0, HTTP_METHOD_GET, HTTP_METHOD_POST, HTTP_METHOD_HEAD,
  HTTP_METHOD_CONNECT, HTTP_METHOD_DELETE, HTTP_METHOD_ICP_QUERY, HTTP_METHOD_OPTIONS,
  HTTP_METHOD_PURGE, HTTP_METHOD_PUT, HTTP_METHOD_TRACE, HTTP_METHOD_PUSH
}
 

An enumeration of all available Http Methods.

More...
enum  HttpStatus {
  HTTP_STATUS_UNKNOWN = 0, HTTP_STATUS_CONTINUE = 100, HTTP_STATUS_SWITCHING_PROTOCOL = 101, HTTP_STATUS_OK = 200,
  HTTP_STATUS_CREATED = 201, HTTP_STATUS_ACCEPTED = 202, HTTP_STATUS_NON_AUTHORITATIVE_INFORMATION = 203, HTTP_STATUS_NO_CONTENT = 204,
  HTTP_STATUS_RESET_CONTENT = 205, HTTP_STATUS_PARTIAL_CONTENT = 206, HTTP_STATUS_MULTI_STATUS = 207, HTTP_STATUS_ALREADY_REPORTED = 208,
  HTTP_STATUS_IM_USED = 211, HTTP_STATUS_MULTIPLE_CHOICES = 300, HTTP_STATUS_MOVED_PERMANENTLY = 301, HTTP_STATUS_MOVED_TEMPORARILY = 302,
  HTTP_STATUS_SEE_OTHER = 303, HTTP_STATUS_NOT_MODIFIED = 304, HTTP_STATUS_USE_PROXY = 305, HTTP_STATUS_TEMPORARY_REDIRECT = 307,
  HTTP_STATUS_PERMANENT_REDIRECT = 308, HTTP_STATUS_BAD_REQUEST = 400, HTTP_STATUS_UNAUTHORIZED = 401, HTTP_STATUS_PAYMENT_REQUIRED = 402,
  HTTP_STATUS_FORBIDDEN = 403, HTTP_STATUS_NOT_FOUND = 404, HTTP_STATUS_METHOD_NOT_ALLOWED = 405, HTTP_STATUS_NOT_ACCEPTABLE = 406,
  HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED = 407, HTTP_STATUS_REQUEST_TIMEOUT = 408, HTTP_STATUS_CONFLICT = 409, HTTP_STATUS_GONE = 410,
  HTTP_STATUS_LENGTH_REQUIRED = 411, HTTP_STATUS_PRECONDITION_FAILED = 412, HTTP_STATUS_REQUEST_ENTITY_TOO_LARGE = 413, HTTP_STATUS_REQUEST_URI_TOO_LONG = 414,
  HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE = 415, HTTP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE = 416, HTTP_STATUS_EXPECTATION_FAILED = 417, HTTP_STATUS_UNPROCESSABLE_ENTITY = 422,
  HTTP_STATUS_LOCKED = 423, HTTP_STATUS_FAILED_DEPENDENCY = 424, HTTP_STATUS_UPGRADE_REQUIRED = 426, HTTP_STATUS_PRECONDITION_REQUIRED = 428,
  HTTP_STATUS_TOO_MANY_REQUESTS = 429, HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE = 431, HTTP_STATUS_INTERNAL_SERVER_ERROR = 500, HTTP_STATUS_NOT_IMPLEMENTED = 501,
  HTTP_STATUS_BAD_GATEWAY = 502, HTTP_STATUS_SERVICE_UNAVAILABLE = 503, HTTP_STATUS_GATEWAY_TIMEOUT = 504, HTTP_STATUS_HTTPVER_NOT_SUPPORTED = 505,
  HTTP_STATUS_VARIANT_ALSO_NEGOTIATES = 506, HTTP_STATUS_INSUFFICIENT_STORAGE = 507, HTTP_STATUS_LOOP_DETECTED = 508, HTTP_STATUS_NOT_EXTENDED = 510,
  HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED = 511
}
 

An enumeration of all available Http Status Codes.

More...
enum  HttpVersion { HTTP_VERSION_UNKNOWN = 0, HTTP_VERSION_0_9, HTTP_VERSION_1_0, HTTP_VERSION_1_1 }
 

An enumeration of all available Http Versions.

More...

Variables

const std::string HTTP_METHOD_STRINGS []
 An array of printable strings representing of the HttpMethod.
const std::string HTTP_VERSION_STRINGS []
 An array of printable strings representing of the HttpVersion.
const std::string HOOK_TYPE_STRINGS []

Enumeration Type Documentation

An enumeration of all available Http Methods.

Enumerator:
HTTP_METHOD_UNKNOWN 
HTTP_METHOD_GET 
HTTP_METHOD_POST 
HTTP_METHOD_HEAD 
HTTP_METHOD_CONNECT 
HTTP_METHOD_DELETE 
HTTP_METHOD_ICP_QUERY 
HTTP_METHOD_OPTIONS 
HTTP_METHOD_PURGE 
HTTP_METHOD_PUT 
HTTP_METHOD_TRACE 
HTTP_METHOD_PUSH 

Definition at line 34 of file HttpMethod.h.

An enumeration of all available Http Status Codes.

Enumerator:
HTTP_STATUS_UNKNOWN 
HTTP_STATUS_CONTINUE 
HTTP_STATUS_SWITCHING_PROTOCOL 
HTTP_STATUS_OK 
HTTP_STATUS_CREATED 
HTTP_STATUS_ACCEPTED 
HTTP_STATUS_NON_AUTHORITATIVE_INFORMATION 
HTTP_STATUS_NO_CONTENT 
HTTP_STATUS_RESET_CONTENT 
HTTP_STATUS_PARTIAL_CONTENT 
HTTP_STATUS_MULTI_STATUS 
HTTP_STATUS_ALREADY_REPORTED 
HTTP_STATUS_IM_USED 
HTTP_STATUS_MULTIPLE_CHOICES 
HTTP_STATUS_MOVED_PERMANENTLY 
HTTP_STATUS_MOVED_TEMPORARILY 
HTTP_STATUS_SEE_OTHER 
HTTP_STATUS_NOT_MODIFIED 
HTTP_STATUS_USE_PROXY 
HTTP_STATUS_TEMPORARY_REDIRECT 
HTTP_STATUS_PERMANENT_REDIRECT 
HTTP_STATUS_BAD_REQUEST 
HTTP_STATUS_UNAUTHORIZED 
HTTP_STATUS_PAYMENT_REQUIRED 
HTTP_STATUS_FORBIDDEN 
HTTP_STATUS_NOT_FOUND 
HTTP_STATUS_METHOD_NOT_ALLOWED 
HTTP_STATUS_NOT_ACCEPTABLE 
HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED 
HTTP_STATUS_REQUEST_TIMEOUT 
HTTP_STATUS_CONFLICT 
HTTP_STATUS_GONE 
HTTP_STATUS_LENGTH_REQUIRED 
HTTP_STATUS_PRECONDITION_FAILED 
HTTP_STATUS_REQUEST_ENTITY_TOO_LARGE 
HTTP_STATUS_REQUEST_URI_TOO_LONG 
HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE 
HTTP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE 
HTTP_STATUS_EXPECTATION_FAILED 
HTTP_STATUS_UNPROCESSABLE_ENTITY 
HTTP_STATUS_LOCKED 
HTTP_STATUS_FAILED_DEPENDENCY 
HTTP_STATUS_UPGRADE_REQUIRED 
HTTP_STATUS_PRECONDITION_REQUIRED 
HTTP_STATUS_TOO_MANY_REQUESTS 
HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE 
HTTP_STATUS_INTERNAL_SERVER_ERROR 
HTTP_STATUS_NOT_IMPLEMENTED 
HTTP_STATUS_BAD_GATEWAY 
HTTP_STATUS_SERVICE_UNAVAILABLE 
HTTP_STATUS_GATEWAY_TIMEOUT 
HTTP_STATUS_HTTPVER_NOT_SUPPORTED 
HTTP_STATUS_VARIANT_ALSO_NEGOTIATES 
HTTP_STATUS_INSUFFICIENT_STORAGE 
HTTP_STATUS_LOOP_DETECTED 
HTTP_STATUS_NOT_EXTENDED 
HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED 

Definition at line 35 of file HttpStatus.h.

An enumeration of all available Http Versions.

Enumerator:
HTTP_VERSION_UNKNOWN 
HTTP_VERSION_0_9 
HTTP_VERSION_1_0 
HTTP_VERSION_1_1 

Definition at line 35 of file HttpVersion.h.


Variable Documentation

const std::string atscppapi::HOOK_TYPE_STRINGS[]
const std::string atscppapi::HTTP_METHOD_STRINGS[]

An array of printable strings representing of the HttpMethod.

 cout << HTTP_METHOD_STRINGS[HTTP_METHOD_GET] << endl;
const std::string atscppapi::HTTP_VERSION_STRINGS[]

An array of printable strings representing of the HttpVersion.

 cout << HTTP_VERSION_STRINGS[HTTP_VERSION_1_1] << endl;