def wire.talk.timed
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
284# the same exchange, bounded by a timeout in milliseconds
285def wire.talk.timed(secure: Bool, ms: U32, host: String, port: U32,
286 method: String, req: String, tail: Bytes.Bytes) -> IO(Answer):
287 wire.run(secure, Spec.wire.ms.of(Some{ms}), host, port, method, req, tail)