atscppapi  1.0.9
C++ wrapper for Apache Traffic Server API
 All Classes Files Functions Enumerations Enumerator Macros
Public Member Functions | List of all members
atscppapi::Request Class Reference

Encapsulates a request. More...

#include "Request.h"

Inheritance diagram for atscppapi::Request:
atscppapi::ClientRequest

Public Member Functions

 Request (const std::string &url, HttpMethod method=HTTP_METHOD_GET, HttpVersion version=HTTP_VERSION_1_1)
 
HttpMethod getMethod () const
 
UrlgetUrl ()
 
HttpVersion getVersion () const
 
HeadersgetHeaders () const
 

Detailed Description

Encapsulates a request.

Constructor & Destructor Documentation

atscppapi::Request::Request ( const std::string &  url,
HttpMethod  method = HTTP_METHOD_GET,
HttpVersion  version = HTTP_VERSION_1_1 
)

Constructed with an initial URL.

Member Function Documentation

atscppapi::Headers & Request::getHeaders ( ) const
Returns
Headers of the request
HttpMethod Request::getMethod ( ) const
Returns
HTTP method of the request
Url & Request::getUrl ( )
Returns
URL of the request
atscppapi::HttpVersion Request::getVersion ( ) const
Returns
HTTP version of the request

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