|
HTTPClient_Handle | HTTPClient_create (int16_t *status, void *params) |
| Allocate and initialize a new HTTPClient instance object and return its handle. More...
|
|
int16_t | HTTPClient_destroy (HTTPClient_Handle client) |
| Destroy the HTTP client instance and free the previously allocated instance object. More...
|
|
int16_t | HTTPClient_connect (HTTPClient_Handle client, const char *hostName, HTTPClient_extSecParams *exSecParams, uint32_t flags) |
| Open a connection to an HTTP server. A user can connect to a HTTP server using TLS,proxy or both. More...
|
|
int16_t | HTTPClient_disconnect (HTTPClient_Handle client) |
| Disconnect from the HTTP server. More...
|
|
int16_t | HTTPClient_sendRequest (HTTPClient_Handle client, const char *method, const char *requestURI, const char *body, uint32_t bodyLen, uint32_t flags) |
| Make an HTTP request to the HTTP server. More...
|
|
int16_t | HTTPClient_readResponseBody (HTTPClient_Handle client, char *body, uint32_t bodyLen, bool *moreDataFlag) |
| Read the response body data from the HTTP server The function handles both oneshot and chunked body responses. More...
|
|
int16_t | HTTPClient_setHeader (HTTPClient_Handle client, uint32_t option, void *value, uint32_t len, uint32_t flags) |
| Setting HTTP Client Header-field configurations. More...
|
|
int16_t | HTTPClient_setHeaderByName (HTTPClient_Handle client, uint32_t option, const char *name, void *value, uint32_t len, uint32_t flags) |
| Setting HTTP Client Header-field configurations by header name. Both standard (as defined by the HTTP RFC spec) and non-standard header names are supported. This API currently only supports request headers. More...
|
|
int16_t | HTTPClient_getHeader (HTTPClient_Handle client, uint32_t option, void *value, uint32_t *len, uint32_t flags) |
| Getting HTTP Client Header-field configurations. More...
|
|
int16_t | HTTPClient_setOpt (HTTPClient_Handle client, uint32_t option, void *value, uint32_t len, uint32_t flags) |
| Setting HTTP Client configurations. More...
|
|
int16_t | HTTPClient_getOpt (HTTPClient_Handle client, uint32_t option, void *value, uint32_t *len, uint32_t flags) |
| Getting HTTP Client configurations. More...
|
|
void | HTTPClient_setProxy (const SlNetSock_Addr_t *addr) |
| Set the proxy address. More...
|
|