def http.handle
import ezmcp@0.1.0.0/main.bend as Ezmcpimport Base
import emerging-ezjson@1.2.0.0/src/value.bend as Value
import emerging-ezhttp@0.21.0.0/src/http.bend as Http
import ezmcp@0.1.0.0/src/rpc.bend as Rpc
import ezmcp@0.1.0.0/src/server.bend as Server
import ezmcp@0.1.0.0/src/io.bend as Io
128# one request to the MCP endpoint at `path`, as an ezhttp IO handler, for a
129# server that serves other paths too
130def http.handle(
131 ~run: String -> Value.Json -> IO(Rpc.Out),
132 ~srv: Server.Server,
133 ~path: String,
134 ~origins: List<&2, String>,
135 req: Http.Request
136) -> IO(Http.Reply):
137 Io.http.handle(run, srv, path, origins, req)
Uses (9)
Used by (0)
No other definition uses this definition.