HTTP Client#

This module contains the HTTP Client API data types.

Modules#

sl_http_client_credentials_t

sl_http_client_configuration_t

sl_http_client_header_s

sl_http_client_request_t

sl_http_client_response_t

Typedefs#

typedef uint32_t

HTTP Client handle.

typedef sl_status_t(*
sl_http_client_event_handler_t)(const sl_http_client_t *client, sl_http_client_event_t event, void *data, void *request_context)

Callback invoked when an HTTP response is received.

Structure of HTTP client extended header node.

Typedef Documentation#

sl_http_client_t#

typedef uint32_t sl_http_client_t

HTTP Client handle.


Definition at line 101 of file components/service/http_client/inc/sl_http_client.h

sl_http_client_event_handler_t#

sl_http_client_event_handler_t )(const sl_http_client_t *client, sl_http_client_event_t event, void *data, void *request_context)

Callback invoked when an HTTP response is received.

Parameters
[out]client

HTTP client handle of type sl_http_client_t

[out]event

HTTP event which has occurred of type sl_http_client_event_t

[out]data

HTTP response data.

[out]request_context

User defined context pointer.

Returns


Definition at line 118 of file components/service/http_client/inc/sl_http_client.h

sl_http_client_header_t#

typedef struct sl_http_client_header_s sl_http_client_header_t

Structure of HTTP client extended header node.


Definition at line 150 of file components/service/http_client/inc/sl_http_client.h