Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Clears the HTTPc WebSocket Object passed as argument.

Files

http-c.h/http-c.c

Prototype

Code Block

          void  HTTPc_WebSockClr (HTTPc_WEBSOCK_OBJ  *p_ws_obj, 
                                  HTTPc_ERR          *p_err)


Arguments

p_ws_obj

Pointer to the HTTPc WebSocket Object to clear.

p_err

Pointer to variable that will receive the return error code from this function:

HTTPc_ERR_NONE
HTTPc_ERR_NULL_PTR
HTTPc_ERR_INIT_NOT_COMPLETED

Returned Values

None.

Required Configuration

None.

Notes / Warnings

  • This function MUST be called after the µC/HTTP-client Suite Initialization has been completed.
  • This function MUST be called before the HTTPc_WEBSOCK_OBJ object is used for the first time.