On Message RX Complete

Called when a message is received completely.

Prototype

void  HTTPc_WebSockOnMsgRxComplete (HTTPc_CONN_OBJ  *p_conn);

Arguments

p_conn

Pointer to the current HTTPc Connection Object.

Return Values

None.

Required Configuration

Notes / Warnings

  • This hook is set in a HTTPc_WEBSOCK_OBJ using HTTPc_WebSockSetParam() with the parameter HTTPc_PARAM_TYPE_WEBSOCK_ON_MSG_RX_COMPLETE.
  • Must be set to the HTTPc_WEBSOCK_OBJ before upgrading the connection with HTTPc_WebSockUpgrade().