def run

cswap-bend-cli@0.1.0.0 · http.bend:85

import cswap-bend-cli@0.1.0.0/http.bend as Http
import Base

85# Run one request: answers curl's exit status and (stdout, stderr). stdout is
86# the response headers, the body, then the HTTP status on the last line.
87def run(cfg: String, timeout_ms: U32) -> IO(Result<&1, &1, U32 & String, U32 & (String & String)>):
88  Process.run("curl", ["--config", "-"], cfg, 4194304, timeout_ms)

Uses (7)

Used by (1)