forked from mirror/Riven
74eb5fa045
- `example/proxy` is new folder for `example_proxy`. - `riven` is new folder for the main riven lib. - Updated metadata to be an array and include HTTP method.
11 lines
412 B
Rust
11 lines
412 B
Rust
use reqwest::Response;
|
|
|
|
/// A "raw" unparsed successful response from the Riot API, for internal or advanced use cases.
|
|
pub struct ResponseInfo {
|
|
/// The reqwest response.
|
|
pub response: Response,
|
|
/// The number of retries used, zero for first-try success.
|
|
pub retries: u8,
|
|
/// If the response has an HTTP status code indicating a `None` response (i.e. 204, 404).
|
|
pub status_none: bool,
|
|
}
|