def http.serve_forever
import ezmcp@0.1.0.0/main.bend as Ezmcpimport Base
import emerging-ezjson@1.2.0.0/src/value.bend as Value
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
153# serve the endpoint on host:port until the process is stopped, each
154# connection on its own fork with no limit on how many at once
155@unsafe def http.serve_forever(
156 ~run: String -> Value.Json -> IO(Rpc.Out),
157 ~srv: Server.Server,
158 ~path: String,
159 ~origins: List<&2, String>,
160 host: String,
161 port: U32
162) -> IO(Unit):
163 Io.http.serve_forever(run, srv, path, origins, host, port)
Uses (9)
Used by (0)
No other definition uses this definition.