#include <network/http.h>
Static Public Member Functions | |
| static Socket * | get (const std::string &url, const std::string &headers="") |
| GET request. | |
| static Socket * | post (const std::string &url, const void *p_data, unsigned int length, const std::string &headers="") |
| POST request. | |
Static Protected Member Functions | |
| static Socket * | open (const std::string &url, const std::string &headers, const std::string &cmd) |
| Base request method. | |
| static Socket* neo::network::HTTPProtocol::get | ( | const std::string & | url, | |
| const std::string & | headers = "" | |||
| ) | [static] |
| static Socket* neo::network::HTTPProtocol::post | ( | const std::string & | url, | |
| const void * | p_data, | |||
| unsigned int | length, | |||
| const std::string & | headers = "" | |||
| ) | [static] |
| url | URL | |
| p_data | Data | |
| length | Data length | |
| headers | Extra headers |
| static Socket* neo::network::HTTPProtocol::open | ( | const std::string & | url, | |
| const std::string & | headers, | |||
| const std::string & | cmd | |||
| ) | [static, protected] |
1.5.1