def http.serve_io_with
import emerging-ezhttp@0.21.0.0/main.bend as EmergingEzhttpimport Base
import emerging-ezhttp@0.21.0.0/src/server.bend as Server
370# the same with a handler that does IO
371def http.serve_io_with(
372 ~C: Data,
373 ~handle: C -> Server.Req -> IO(Server.Answer),
374 ctx: C,
375 host: String,
376 port: U32,
377 limit: U32,
378 max: U32
379) -> IO(Unit):
380 Server.server.serve_io_with(~C, handle, ctx, host, port, limit, max)