def plain
import bend-kit-camber@0.15.0.1/camber.bend as Camberimport Base
import bend-kit-http@0.38.1.1/http.bend as Http
607# A closed template can run repeatedly; an affine callback registry cannot.
608def plain(~handler: Http.Req -> IO(Http.Res), req: Http.Req) -> IO(Result<&2, &1, ResponseError, Http.Res>):
609 do IO<Result<&2, &1, ResponseError, Http.Res>>:
610 response : Http.Res <- handler(req)
611 return validate(response)
Uses (8)
Used by (0)
No other definition uses this definition.