def wire.run.with
emerging-ezhttp@0.21.0.0 · src/wire.bend:263
import emerging-ezhttp@0.21.0.0/src/wire.bend as Wire
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
import bend-kit-dns@0.6.0.2/dns.bend as Dns
263
264def wire.run.with(+secure: Bool, +ms: U32, +host: String, +port: U32,
265 +method: String, payload: Bytes.Bytes) -> IO(Answer):
266 IO.bind(Result<&1, &1, U32 & String, List<&2, String>>, Answer,
267 wire.resolve(host, Dns.resolve.literal.all(host)),
268 r => wire.after.resolve(secure, host, port, ms, method, payload, r))