def serve.write.config

bend-kit-http@0.38.2.0 · http.bend:7058

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

7058def serve.write.config(
7059  ~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
7060) -> IO(Result<&2, &2, StartupError, Unit>):
7061  do IO<Result<&2, &2, StartupError, Unit>>:
7062    started : Unit & Result<&2, &1, StartupError, Server<Unit>> <- server.start(~Unit, ~Unit, Unit{}, Unit{}, config)
7063    serve.write.started(~S, ~start, ~write, ~dispose, ~observe, started)

Uses (16)

Used by (1)