def http.serve_io

emerging-ezhttp@0.21.0.0 · main.bend:337

import emerging-ezhttp@0.21.0.0/main.bend as EmergingEzhttp
import Base
import emerging-ezhttp@0.21.0.0/src/http.bend as Http
import emerging-ezhttp@0.21.0.0/src/server.bend as Server

337# listen on host:port and serve up to `limit` connections with a handler that
338# does IO; a failed connection is logged and the next one is served
339def http.serve_io(
340  ~handle: Http.Request -> IO(Http.Reply),
341  host: String,
342  port: U32,
343  limit: U32
344) -> IO(Unit):
345  Server.server.serve_io(handle, host, port, limit)

Uses (7)

Used by (0)

No other definition uses this definition.