WE310F5  39.00.000
M2MB_HTTPC_OPEN_PARAMS Struct Reference

HTTPC parameters required to open a client connection. More...

#include <m2mb_httpc.h>

Data Fields

UINT32 timeout
 
UINT16 httpc_max_body_len
 
UINT16 httpc_max_Header_len
 
UINT16 httpc_rx_buf_len
 
VOIDm2mbSslCtx
 
M2MB_HTTPC_CB_T cb
 
VOIDcb_arg
 

Detailed Description

HTTPC parameters required to open a client connection.

The structure is used in m2mb_httpc_open() for setting http client context.

Definition at line 245 of file m2mb_httpc.h.

Field Documentation

◆ cb

Pointer to HTTP client session callback function

Definition at line 253 of file m2mb_httpc.h.

◆ cb_arg

VOID* cb_arg

Pointer to the HTTP client session callback argument

Definition at line 254 of file m2mb_httpc.h.

◆ httpc_max_body_len

UINT16 httpc_max_body_len

Max body length.

Definition at line 248 of file m2mb_httpc.h.

◆ httpc_max_Header_len

UINT16 httpc_max_Header_len

Max header length.

Definition at line 249 of file m2mb_httpc.h.

◆ httpc_rx_buf_len

UINT16 httpc_rx_buf_len

Size in bytes of RX buffer for HTTP response If size is less than 512, system will use 512.

Definition at line 250 of file m2mb_httpc.h.

◆ m2mbSslCtx

VOID* m2mbSslCtx

Pointer to m2mb ssl context

Definition at line 252 of file m2mb_httpc.h.

◆ timeout

UINT32 timeout

Timeout in seconds.

Definition at line 247 of file m2mb_httpc.h.


The documentation for this struct was generated from the following file: