Skip to content

How to send ping requests to all clients to keep the connection alive. #78

@kingster

Description

@kingster

Hi

I am trying to implement a SSE MCP server. Now this is behind a load-balancer, so in order to keep the connection alive, ping - pong is required otherwise the load-balancer would terminate the connection.

As per the specs, either participant can send a ping request.

I couldn't find a way. sendNotificationToAllClients is right now private, so should the right way be to expose sending ping command from server side?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions