Struct mwapi::client::Client [−][src]
pub struct Client { /* fields omitted */ }
Implementations
Get a Builder
instance to further customize the API Client
.
The API URL should be the absolute path to api.php.
Same as Client::builder
, but with defaults tuned for interactive operation.
Get an API Client
instance. The API URL should be the absolute
path to api.php.
Make an arbitrary API request using HTTP GET.
Make an API POST request with a CSRF token. The correct token will automatically be fetched, and in case of a bad token error (if it expired), a new one will automatically be fetched and the request retried.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl !UnwindSafe for Client
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more