OptionalattemptOptionaltotalWhole-ticket deadline in ms. Starts at request(); cancels the ticket
and resolves with DeadlineExceededError on expiry. Omit (or pass
Infinity) for no total deadline. Also caps how long the caller has
to read an unread Response's body handed back as above, if that's
sooner than attemptMs would otherwise allow.
Per-attempt timeout in ms. Omit to inherit the client-level default;
Infinityexplicitly means no per-attempt cap. Also bounds, from attempt start, how long the caller has to read the body of a Response handed back unread (a success withoutparse, or anHttpError's.response) before that read is aborted.