Struct flo_http_ui::UiHandler [] [src]

pub struct UiHandler<CoreController: HttpController> { /* fields omitted */ }

Handles creating and maintainng HTTP sessions

Methods

impl<CoreController: HttpController + 'static> UiHandler<CoreController>
[src]

[src]

Creates a new UI handler

[src]

Creates a websocket handler that will provide websockets for a pre-set set of sessions

[src]

Sets the websocket port that this should report when creating a new session

[src]

Creates a new session and session state, returning the ID

[src]

Handles a UI handler request

[src]

Attempts to retrieve a canvas from the session

[src]

Attempts to retrieve an image from the session

[src]

Handles a get resources request

Trait Implementations

impl<CoreController: HttpController + 'static> Handler for UiHandler<CoreController>
[src]

[src]

Handles a request for a UI session (or creates new sessions)

Auto Trait Implementations

impl<CoreController> Send for UiHandler<CoreController>

impl<CoreController> Sync for UiHandler<CoreController>