Struct flo_http_ui::WebSessions
[−]
[src]
pub struct WebSessions<CoreController: Controller> { /* fields omitted */ }
Manages the active sessions
Methods
impl<CoreController: Controller + 'static> WebSessions<CoreController>
[src]
pub fn new() -> WebSessions<CoreController>
[src]
Creates a new websessions object
pub fn new_session(&self, controller: CoreController, base_path: &str) -> String
[src]
Creates a new session and returns its ID
pub fn get_session(
&self,
session_id: &str
) -> Option<Arc<Mutex<HttpSession<UiSession<CoreController>>>>>
[src]
&self,
session_id: &str
) -> Option<Arc<Mutex<HttpSession<UiSession<CoreController>>>>>
Retrieves the session with the specified ID form this object