Struct nri::web::Web [-] [+] [src]

pub struct Web<'a> {
    listening: Listening,
    websocket: Server<'a>,
}

Controllable struct for the web server

Fields

listening

Private handle to the HTTP server

websocket

Private handle to the websocket server

Trait Implementations

impl<'a> Controllable for Web<'a>

fn setup(tx: Sender<CmdFrom>) -> Web<'a>

fn step(&mut self) -> bool

fn teardown(&mut self)