Module prelude

Source

Re-exports§

pub use crate::Request;

Structs§

DynLazyResponse
LazyResponse
A lazy api response which you can trigger through the run callback
Options
Use API Options

Functions§

use_api
The basic api hook which requests data on mount and preserves its data through out the component lifetime
use_api_dynamic
Useful when not wanting to run a request on mount, e.g. for a logout button You may run the request multiple times through multiple emits of the callback
use_api_dynamic_with_options
Useful when not wanting to run a request on mount, e.g. for a logout button You may run the request multiple times through multiple emits of the callback
use_api_lazy
Useful when not wanting to run a request on mount, e.g. for a logout button You may run the request multiple times through multiple emits of the callback
use_api_lazy_with_options
Useful when not wanting to run a request on mount, e.g. for a logout button You may run the request multiple times through multiple emits of the callback
use_api_with_options
The basic api hook which requests data on mount and preserves its data through out the component lifetime.

Attribute Macros§

async_trait