Lazy RSS
|
#include <http.hpp>
Public Member Functions | |
HTTP_Request (const char *url) | |
Initializes request class. More... | |
HTTP_Request & | set_method (METHOD method) |
Sets method type. More... | |
HTTP_Response | run () |
Protected Member Functions | |
const std::string & | method_str () const |
Protected Attributes | |
Poco::URI | uri |
METHOD | method |
|
explicit |
Initializes request class.
Default method is GET.
url | Valid HTTP URI string. |
|
protected |
HTTP_Response HTTP_Request::run | ( | ) |
HTTP_Request & HTTP_Request::set_method | ( | METHOD | method | ) |
Sets method type.
method | HTTP Method type. |
|
protected |
|
protected |