pub struct WebAPI;Expand description
Calling the Steam Web API.
Implementations§
Source§impl WebAPI
impl WebAPI
Sourcepub fn default_base_address() -> Url
pub fn default_base_address() -> Url
The default base address of the Steam Web API. Use a SteamConfiguration
or the _with_base_address functions for a different one.
Sourcepub fn default_timeout() -> Duration
pub fn default_timeout() -> Duration
The default timeout used for Web API requests.
Sourcepub fn get_interface(iface: &str, api_key: &str) -> Interface
pub fn get_interface(iface: &str, api_key: &str) -> Interface
An interface for calling the given Web API interface.
Sourcepub fn get_interface_with_base_address(
base_address: Url,
iface: &str,
api_key: &str,
) -> Interface
pub fn get_interface_with_base_address( base_address: Url, iface: &str, api_key: &str, ) -> Interface
An interface for calling the given Web API interface at base_address.
Sourcepub fn get_async_interface(iface: &str, api_key: &str) -> AsyncInterface
pub fn get_async_interface(iface: &str, api_key: &str) -> AsyncInterface
An async interface for calling the given Web API interface.
Sourcepub fn get_async_interface_with_base_address(
base_address: Url,
iface: &str,
api_key: &str,
) -> AsyncInterface
pub fn get_async_interface_with_base_address( base_address: Url, iface: &str, api_key: &str, ) -> AsyncInterface
An async interface for calling the given Web API interface at base_address.
Auto Trait Implementations§
impl Freeze for WebAPI
impl RefUnwindSafe for WebAPI
impl Send for WebAPI
impl Sync for WebAPI
impl Unpin for WebAPI
impl UnsafeUnpin for WebAPI
impl UnwindSafe for WebAPI
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more