Types#

This section provides a reference to the HTTP 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)(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 100 of file components/service/http_client/inc/sl_http_client.h

sl_http_client_event_handler#

typedef sl_status_t(* sl_http_client_event_handler) (const sl_http_client_t *client, sl_http_client_event_t event, void *data, void *request_context) )(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 clients handle.

[out]event

HTTP event which has occurred.

[out]data

HTTP response data.

[out]request_context

User defined context pointer.

Returns


Definition at line 116 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 146 of file components/service/http_client/inc/sl_http_client.h