Encapsulates a request.
More...
#include <Request.h>
Inherits atscppapi::noncopyable.
Inherited by atscppapi::ClientRequest.
Detailed Description
Encapsulates a request.
Definition at line 40 of file Request.h.
Constructor & Destructor Documentation
atscppapi::Request::Request |
( |
|
) |
|
atscppapi::Request::Request |
( |
const std::string & |
url, |
|
|
HttpMethod |
method = HTTP_METHOD_GET , |
|
|
HttpVersion |
version = HTTP_VERSION_1_1 | |
|
) |
| | |
Constructed with an initial URL.
atscppapi::Request::~Request |
( |
|
) |
|
Member Function Documentation
Headers& atscppapi::Request::getHeaders |
( |
|
) |
const |
HttpMethod atscppapi::Request::getMethod |
( |
|
) |
const |
- Returns:
- HTTP method of the request
Url& atscppapi::Request::getUrl |
( |
|
) |
|
- Returns:
- URL of the request
- Returns:
- HTTP version of the request
Friends And Related Function Documentation
The documentation for this class was generated from the following file: