Trait actix_web::server::HttpHandlerTask [−][src]
pub trait HttpHandlerTask { fn poll_io(&mut self, io: &mut Writer) -> Poll<bool, Error>; fn poll_completed(&mut self) -> Poll<(), Error> { ... } fn disconnected(&mut self) { ... } }
Low level http request handler
Required Methods
Provided Methods
fn poll_completed(&mut self) -> Poll<(), Error>
Poll task, this method is used before or after io object is available
fn disconnected(&mut self)
Connection is disconnected
Implementations on Foreign Types
impl HttpHandlerTask for Box<HttpHandlerTask>
[src]
impl HttpHandlerTask for Box<HttpHandlerTask>