Backplane.McpProtocol.Server.Transport.StreamableHTTP.ModernRequest (backplane_mcp_protocol v0.6.1)

Copy Markdown

Dispatches one stateless modern MCP request over Streamable HTTP.

The caller supplies request-local transport context and the runtime dependencies needed for callback isolation. No legacy session or server supervisor configuration is consulted.

Summary

Functions

Dispatches and renders one decoded modern Streamable HTTP request.

Renders the modern JSON-RPC parse error used for malformed request bodies.

Functions

call(conn, message, transport_context, opts)

@spec call(Plug.Conn.t(), term(), map(), keyword()) :: Plug.Conn.t()

Dispatches and renders one decoded modern Streamable HTTP request.

parse_error(conn)

@spec parse_error(Plug.Conn.t()) :: Plug.Conn.t()

Renders the modern JSON-RPC parse error used for malformed request bodies.