mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-05 10:49:40 +02:00
Add spclient and HTTPS support
* Change metadata to use spclient * Add support for HTTPS proxies * Start purging unwraps and using Result instead
This commit is contained in:
parent
56585cabb6
commit
d19fd24074
19 changed files with 652 additions and 100 deletions
|
@ -23,11 +23,11 @@ component! {
|
|||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct Token {
|
||||
access_token: String,
|
||||
expires_in: Duration,
|
||||
token_type: String,
|
||||
scopes: Vec<String>,
|
||||
timestamp: Instant,
|
||||
pub access_token: String,
|
||||
pub expires_in: Duration,
|
||||
pub token_type: String,
|
||||
pub scopes: Vec<String>,
|
||||
pub timestamp: Instant,
|
||||
}
|
||||
|
||||
#[derive(Deserialize)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue