def wire.talk
import emerging-ezhttp@0.21.0.0/src/wire.bend as Wireimport 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)