mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-28 18:02:39 +01:00
23 lines
515 B
Rust
23 lines
515 B
Rust
//! HTTP/1 implementation
|
|
use actix_net::codec::Framed;
|
|
|
|
mod codec;
|
|
mod decoder;
|
|
mod dispatcher;
|
|
mod encoder;
|
|
mod service;
|
|
|
|
pub use self::codec::{Codec, InMessage, InMessageType, OutMessage};
|
|
pub use self::decoder::{PayloadDecoder, RequestDecoder};
|
|
pub use self::dispatcher::Dispatcher;
|
|
pub use self::service::{H1Service, H1ServiceHandler, OneRequest};
|
|
|
|
use request::Request;
|
|
|
|
/// H1 service response type
|
|
pub enum H1ServiceResult<T> {
|
|
Disconnected,
|
|
Shutdown(T),
|
|
Unhandled(Request, Framed<T, Codec>),
|
|
}
|