Interface McpStreamableServerTransport

All Superinterfaces:
McpServerTransport, McpTransport

public interface McpStreamableServerTransport extends McpServerTransport
Streamable HTTP server transport representing an individual SSE stream.
Author:
Dariusz Jędrzejczyk
  • Method Details

    • sendMessage

      reactor.core.publisher.Mono<Void> sendMessage(McpSchema.JSONRPCMessage message, String messageId)
      Send a message to the client with a message ID for use in the SSE event payload
      Parameters:
      message - the JSON-RPC payload
      messageId - message id for SSE events
      Returns:
      Mono which completes when done