Design | |
Porting Guide | Guide for porting the HTTP client library to a new platform |
Configurations | Configurations of the HTTP Client library |
▼Functions | Primary functions of the HTTP Client library: HTTPClient_InitializeRequestHeaders HTTPClient_AddHeader HTTPClient_AddRangeHeader HTTPClient_Send HTTPClient_ReadHeader HTTPClient_strerror |
HTTPClient_InitializeRequestHeaders | Initialize the request headers, stored in HTTPRequestHeaders_t.pBuffer, with initial configurations from HTTPRequestInfo_t. This method is expected to be called before sending a new request. |
HTTPClient_AddHeader | Add a header to the request headers stored in HTTPRequestHeaders_t.pBuffer. |
HTTPClient_AddRangeHeader | Add the byte range request header to the request headers store in HTTPRequestHeaders_t.pBuffer. |
HTTPClient_Send | Send the request headers in HTTPRequestHeaders_t.pBuffer and request body in pRequestBodyBuf over the transport. The response is received in HTTPResponse_t.pBuffer. |
HTTPClient_ReadHeader | Read a header from a buffer containing a complete HTTP response. This will return the location of the response header value in the HTTPResponse_t.pBuffer buffer. |
HTTPClient_strerror | Error code to string conversion utility for HTTP Client library. |
Transport Interface | The transport interface definition |