HTTP Client
Providing a custom HTTP implementation for the Vertices SDK
Our header, your implementation
Client Init/DeInit
/// Init HTTP client
/// \param provider Remote API URL, port, specific header and certificate if needed by the client
/// \param response_payload_cb Function callback to call when data is ready to be parsed
/// \return \c VTC_SUCCESS on success, otherwise error depends on implementation
ret_code_t
http_init(const provider_info_t *provider,
size_t (*response_payload_cb)(char *chunk,
size_t chunk_size));
/// Close/deinit the client
void
http_close(void);