def server.serve
import ezhttp@0.22.0.0/src/server.bend as Serverimport Base
import ezhttp@0.22.0.0/src/http.bend as Http
502# listen and serve up to `limit` connections
503def server.serve(~handle: Http.Request -> Http.Reply, host: String, port: U32,
504 limit: U32) -> IO(Unit):
505 server.serve_io(~(req => server.lift(handle, req)), host, port, limit)