Backplane. McpProtocol. Server. ProfileRouter
(backplane_mcp_protocol v0.6.0)
Copy Markdown
Selects the session-oriented legacy path or a stateless modern profile.
Body metadata and transport markers are inspected independently. Transport validation remains the responsibility of the selected executor.
Summary
Types
@type route() :: :legacy | {:modern, Backplane.McpProtocol.Protocol.Profile.t()}
Functions
@spec route(map(), map()) :: {:ok, route()} | {:error, Backplane.McpProtocol.MCP.Error.t()}