def http.decide
import ezmcp@0.1.0.0/main.bend as Ezmcpimport Base
import emerging-ezhttp@0.21.0.0/src/http.bend as Http
import ezmcp@0.1.0.0/src/server.bend as Server
import ezmcp@0.1.0.0/src/web.bend as Web
118# what the HTTP transport decides for one request to an endpoint at `path`
119# that allows the browser origins listed: a reply now, or a tool to run
120def http.decide(
121 srv: Server.Server,
122 path: String,
123 origins: List<&2, String>,
124 req: Http.Request
125) -> Web.Web:
126 Web.decide(srv, path, origins, req)
Uses (6)
Used by (0)
No other definition uses this definition.