1
0
Fork 0
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:
Roderick van Domburg 2021-11-26 23:21:27 +01:00
parent 56585cabb6
commit d19fd24074
No known key found for this signature in database
GPG key ID: A9EF5222A26F0451
19 changed files with 652 additions and 100 deletions

View file

@ -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)]