def wire.talk

emerging-ezhttp@0.21.0.0 · src/wire.bend:278

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 emerging-ezhttp@0.21.0.0/src/wirespec.bend as Spec

278# a request sent to a host, its tail of octets after it, and its whole answer
279# read back, with the default deadline
280def wire.talk(secure: Bool, host: String, port: U32, method: String,
281  req: String, tail: Bytes.Bytes) -> IO(Answer):
282  wire.run(secure, Spec.wire.ms.of(None{}), host, port, method, req, tail)

Uses (9)

Used by (1)