Skip to content

Monitor websocket ping/pong #832

Description

@optimry

Hi Guys

I have a websocket server and would like to monitor the pings from the clients and perhaps also the pongs from the server.

I handle messages using UseWebSocketMessageHandler and sessions using UseSessionHandler.
How do I know when a ping is beeing received from a client?
I did not write the code for the clients and would like to monitor the pings for diagnostics purposes and maybe add the info to a logfile.

Regards
Martin

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions