pubnub / rust

PubNub Rust SDK.
Other
28 stars 8 forks source link

Add request retry policy #144

Closed parfeon closed 1 year ago

parfeon commented 1 year ago

feat(retry-policy): add request retry policy

Add RequestRetryPolicy for delay computation between failed requests to retry.

fix(reqwest-response): fix missing headers

Fix missing headers in RequestResponse struct when used with reqwest crate.

Xavrax commented 1 year ago

But it would be nice to use e.g. https://docs.rs/time/latest/time/struct.Duration.html