[][src]Trait actix_web::server::HttpHandler

pub trait HttpHandler: 'static {
    type Task: HttpHandlerTask;
    fn handle(&self, req: Request) -> Result<Self::Task, Request>;
}

Low level http request handler

Associated Types

type Task: HttpHandlerTask

Request handling task

Loading content...

Required methods

fn handle(&self, req: Request) -> Result<Self::Task, Request>

Handle request

Loading content...

Implementations on Foreign Types

impl HttpHandler for Box<dyn HttpHandler<Task = Box<dyn HttpHandlerTask>>>[src]

Loading content...

Implementors

Loading content...