ark::comms::StreamingCallbacks

Defined in header “ark/comms/http_server.hh”.


A definition of a streaming callback these are installed when an external party wants to listen for streaming (ie, websocket) requests coming into the HTTP server.

Variables

  • StreamingConnectedCallback connected_callback
    Invoked when a new connection is created.

  • StreamingDisconnectedCallback disconnected_callback
    Invoked when a connection is closed.

  • StreamingMessageReceivedCallback message_received_callback
    Invoked when a message has been received.