Expand description
This crate can only be used when compiled to wasm, and wasm is run by
www.fifthtry.com, or by clift, the command
line tool to use help developers build FifthTry Apps or when self-hosting
FifthTry Apps.
Re-exports§
pub use session::SessionID;pub use session::SessionData;pub use auth::UserId;pub use error::not_found_;pub use error::server_error_;pub use error::unauthorised_;pub use from_request::Form;pub use from_request::FromRequest;pub use from_request::Host;pub use from_request::Mountpoint;pub use from_request::Path;pub use from_request::WrappedFromRequest;
Modules§
- Functions to interact with the environment.
- Functions and types to work with HTTP requests and responses.
- Utility functions for the SDK
Macros§
- Construct an ad-hoc error from a string or existing non-
anyhowerror value. - Return early with an error.
- Return early with an error if a condition is not satisfied.
- Create a page not found response.
- Print some data to the server log.
- Create a page not found response.
- Create a page not found response.
Structs§
- The
Errortype, a wrapper around a dynamic error type.
Enums§
DecryptionErroris returned as error whenft_sdk::decryptfails.
Traits§
- Provides the
contextmethod forResult.
Functions§
- Get a connection to the default sqlite database.
- add an email to the offline email queue, so that the email can be sent later. these emails get picked up by the email worker.