[][src]Trait new_home_core::http::request_handler::RequestHandler

pub trait RequestHandler {
    fn handle_request(&self, request: &Request) -> Response;
}

Defines an interface for handling interaction between the web server and the connected home-client(s)

Required methods

fn handle_request(&self, request: &Request) -> Response

Loading content...

Implementors

impl RequestHandler for ClientRequestHandler[src]

impl RequestHandler for RoomRequestHandler[src]

Loading content...