Ezmcp.http.decide: def of ezmcp@0.1.0.0 Import: import ezmcp@0.1.0.0/main.bend as Ezmcp Lines 118-126 of ezmcp@0.1.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=ezmcp@0.1.0.0/main.bend&start_line=118&end_line=126 import 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 # what the HTTP transport decides for one request to an endpoint at `path` # that allows the browser origins listed: a reply now, or a tool to run def http.decide( srv: Server.Server, path: String, origins: List<&2, String>, req: Http.Request ) -> Web.Web: Web.decide(srv, path, origins, req) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/http.bend&name=Request https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/server.bend&name=Server https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/web.bend&name=Web https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/web.bend&name=decide