Http.serve.on.with: def of bend-kit-http@0.38.4.0 Import: import bend-kit-http@0.38.4.0/http.bend as Http Lines 7076-7081 of bend-kit-http@0.38.4.0/http.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-http@0.38.4.0/http.bend&start_line=7076&end_line=7081 import Base import bend-kit-http@0.38.4.0/completion.bend as Completion def serve.on.with(~h: Req -> IO(Reply), ~observe: U32 -> Completion.Outcome -> IO(Unit), host: String, +port: U32, +max: Nat) -> IO(Unit): do IO: limits.validate(max) started : Unit & Result<&2, &1, StartupError, Server> <- server.start(~Unit, ~Unit, Unit{}, Unit{}, server.config.with(host, port, max)) serve.started(~h, ~observe, started) Uses (17): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.4.0/completion.bend&name=Outcome https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.4.0/http.bend&name=Reply https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.4.0/http.bend&name=Req https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.4.0/http.bend&name=Server https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.4.0/http.bend&name=StartupError https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.4.0/http.bend&name=limits.validate https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.4.0/http.bend&name=serve.started https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.4.0/http.bend&name=server.config.with https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.4.0/http.bend&name=server.start