Skip to main content

Module context

Module context 

Source

Re-exports§

pub use hosts::ContextError;
pub use hosts::ContextHosts;
pub use route_index::ClientContextMeta;
pub use route_index::ClientLinkEntry;
pub use route_index::ContextLinksRule;
pub use route_index::ContextSpec;
pub use route_index::ContextTarget;
pub use route_index::HrefOptions;
pub use route_index::RouteEntry;
pub use route_index::RouteIndex;
pub use router::ContextRoute;
pub use router::ContextRoutes;
pub use router::SetCurrentContext;
pub use router::SharedRouteIndex;
pub use router::join_uri;

Modules§

hosts
route_index
router

Structs§

ContextRegistry
Registry of declared Saola contexts and routes, used to build a RouteIndex.

Functions§

current_context
Returns the active Saola context slug stored in the current Laravel request context, if any.
set_current_context
Records the active Saola context slug in the current Laravel request context.