Package-level declarations

Types

Link copied to clipboard
class WebsocketSessions(sessionProvider: SessionProvider = SessionProvider.Random(), sessionEventTracking: SessionEventTracking = SessionEventTracking.InMemory(), eventStore: SessionEventStore = InMemory(100), keepAliveDelay: Duration = Duration.ofSeconds(2)) : Sessions<Websocket>

Functions

Link copied to clipboard
fun WebsocketMcp(mcpProtocol: McpProtocol<Websocket>, security: McpSecurity, corsPolicy: CorsPolicy? = null): PolyHandler

Non-standard (but compliant) MCP server setup for WS-based MCP Servers.

Link copied to clipboard

This Websocket handler can be bound to whatever path is required by the server with ws("/path" bind