Types#
This section provides a reference to the HTTP API data types.
Modules#
sl_http_client_configuration_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.
typedef struct sl_http_client_header_s
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
sl_status_t. See https://docs.silabs.com/gecko-platform/4.1/common/api/group-status for details.
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