mirror of
https://github.com/kristoferssolo/transmission-rpc.git
synced 2025-10-21 20:10:37 +00:00
doc
This commit is contained in:
parent
69760035f3
commit
837dbf5421
@ -1,3 +1,9 @@
|
|||||||
|
//! Sharable version of `TransClient`.
|
||||||
|
//!
|
||||||
|
//! It lifted the requirement of `&mut self` on
|
||||||
|
//! all requests methods by using a lock on inner state. This may introduce some overhead
|
||||||
|
//! so choose as needed.
|
||||||
|
|
||||||
use std::{ops::Deref, sync::RwLock};
|
use std::{ops::Deref, sync::RwLock};
|
||||||
|
|
||||||
use reqwest::{header::CONTENT_TYPE, Client, StatusCode, Url};
|
use reqwest::{header::CONTENT_TYPE, Client, StatusCode, Url};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user