WebSocket Message Hooks

µC/HTTP-client provides a set of hook functions for WebSocket Message to customize the stack behavior for your application needs.  Those are only available when the µC/HTTP-client internal task is active (HTTPc_CFG_MODE_ASYNC_TASK_EN) and can be set up with the API function HTTPc_WebSockSetParam().

Listing - Websocket Message Hooks
Hook FunctionDescription
Message TX Hooks
On Message TX Initialization Called when the message is ready to be sent.
On Message TX DataCalled to set the internal connection buffer of a data chunk of a message to send.
On Message TX CompleteCalled when the message is completely transmitted