def serve.write.config

bend-kit-http@0.38.5.0 · http.bend:7050

import bend-kit-http@0.38.5.0/http.bend as Http
import Base
import bend-kit-http@0.38.5.0/completion.bend as Completion

7050def serve.write.config(
7051  ~S: Type, ~start: Req -> IO(WriteHead<S>), ~write: S -> Writer -> Completion.Receipt -> IO(Writer & Completion.Receipt), ~dispose: S -> IO(Unit), ~observe: U32 -> Completion.Outcome -> IO(Unit), config: ServerConfig
7052) -> IO(Result<&2, &2, StartupError, Unit>):
7053  do IO<Result<&2, &2, StartupError, Unit>>:
7054    started : Unit & Result<&2, &1, StartupError, Server<Unit>> <- server.start(~Unit, ~Unit, Unit{}, Unit{}, config)
7055    serve.write.started(~S, ~start, ~write, ~dispose, ~observe, started)

Uses (16)

Used by (1)