|
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_connect2 (HTTPClient_Handle client, const char *hostName, SlNetSockSecAttrib_t *secAttribs, uint32_t flags, int16_t *secureRetVal) |
| Open a connection to an HTTP server. A user can connect to a HTTP server using TLS, proxy or both. HTTPClient_connect2 allows the user more control over security by accepting a secure attribute object and returning the value of the attempted secure connection. 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 supports request and response 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_getHeaderByName (HTTPClient_Handle client, uint32_t option, const char *name, void *value, uint32_t *len, uint32_t flags) |
| Getting HTTP Client Header-field configurations. This API doesn't support removing existing custom header name, to do so please close the HTTPClient and reallocate it. This API for now, supports only custom 'response' headers. 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) |
| Uses the http CONNECT method to create a tunnel through a remote proxy server to the host designated in HTTPClient_connect. More...
|
|