GATE
|
HTTP client library. More...
Classes | |
struct | gate_httpclient_class |
Macros | |
#define | GATE_HTTPCLIENT_FLAG_SECURE 0x0001 |
#define | GATE_HTTPCLIENT_FLAG_DISABLE_VERIFICATION 0x0002 |
#define | GATE_HTTPCLIENT_FLAG_NATIVE_IMPL 0x4000 |
Typedefs | |
typedef struct gate_httpclient_class | gate_httpclient_t |
Functions | |
GATE_NET_API gate_result_t | gate_httpclient_create (gate_httpclient_t *client, gate_string_t const *server, gate_uint16_t port, gate_enumint_t flags) |
GATE_NET_API gate_result_t | gate_httpclient_send_request (gate_httpclient_t *client, gate_http_request_t *request, gate_http_response_t *response) |
GATE_NET_API gate_result_t | gate_httpclient_release (gate_httpclient_t *client) |
HTTP client library.
#define GATE_HTTPCLIENT_FLAG_DISABLE_VERIFICATION 0x0002 |
disable certificate verification
#define GATE_HTTPCLIENT_FLAG_NATIVE_IMPL 0x4000 |
uses a native TCP socket implementation
#define GATE_HTTPCLIENT_FLAG_SECURE 0x0001 |
enable HTTPS connection