1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-18 14:16:47 +00:00

rename httpmessage to httpresponse

This commit is contained in:
Nikolay Kim 2017-10-15 09:33:17 -07:00
parent 1d2521a5a4
commit 5480cb5d49
10 changed files with 10 additions and 10 deletions

View file

@ -9,7 +9,7 @@ use actix::fut::ActorFuture;
use actix::dev::{AsyncContextApi, ActorAddressCell, ActorItemsCell, SpawnHandle};
use route::{Route, Frame};
use httpmessage::HttpResponse;
use httpresponse::HttpResponse;
/// Actor execution context

View file

@ -12,7 +12,7 @@ pub use httpcodes;
pub use error::ParseError;
pub use application::Application;
pub use httprequest::HttpRequest;
pub use httpmessage::{Body, Builder, HttpResponse};
pub use httpresponse::{Body, Builder, HttpResponse};
pub use payload::{Payload, PayloadItem, PayloadError};
pub use router::RoutingMap;
pub use resource::{Reply, Resource};

View file

@ -10,7 +10,7 @@ use httparse;
use http::{StatusCode, Error as HttpError};
use HttpRangeParseError;
use httpmessage::{Body, HttpResponse};
use httpresponse::{Body, HttpResponse};
/// A set of errors that can occur during parsing HTTP streams.

View file

@ -7,7 +7,7 @@ use task::Task;
use route::RouteHandler;
use payload::Payload;
use httprequest::HttpRequest;
use httpmessage::{Body, Builder, HttpResponse};
use httpresponse::{Body, Builder, HttpResponse};
pub const HTTPOk: StaticResponse = StaticResponse(StatusCode::OK);
pub const HTTPCreated: StaticResponse = StaticResponse(StatusCode::CREATED);

View file

@ -32,7 +32,7 @@ mod error;
mod date;
mod decode;
mod httprequest;
mod httpmessage;
mod httpresponse;
mod payload;
mod resource;
mod route;
@ -50,7 +50,7 @@ pub mod httpcodes;
pub use error::ParseError;
pub use application::Application;
pub use httprequest::HttpRequest;
pub use httpmessage::{Body, Builder, HttpResponse};
pub use httpresponse::{Body, Builder, HttpResponse};
pub use payload::{Payload, PayloadItem, PayloadError};
pub use router::RoutingMap;
pub use resource::{Reply, Resource};

View file

@ -11,7 +11,7 @@ use route::{Route, RouteHandler};
use payload::Payload;
use context::HttpContext;
use httprequest::HttpRequest;
use httpmessage::HttpResponse;
use httpresponse::HttpResponse;
use httpcodes::HTTPMethodNotAllowed;
/// Http resource

View file

@ -9,7 +9,7 @@ use context::HttpContext;
use resource::Reply;
use payload::Payload;
use httprequest::HttpRequest;
use httpmessage::HttpResponse;
use httpresponse::HttpResponse;
#[doc(hidden)]
#[derive(Debug)]

View file

@ -13,7 +13,7 @@ use tokio_core::net::TcpStream;
use date;
use route::Frame;
use httprequest::HttpRequest;
use httpmessage::{Body, HttpResponse};
use httpresponse::{Body, HttpResponse};
type FrameStream = Stream<Item=Frame, Error=io::Error>;
const AVERAGE_HEADER_SIZE: usize = 30; // totally scientific

View file

@ -75,7 +75,7 @@ use route::Route;
use payload::Payload;
use httpcodes::{HTTPBadRequest, HTTPMethodNotAllowed};
use httprequest::HttpRequest;
use httpmessage::{Body, ConnectionType, HttpResponse};
use httpresponse::{Body, ConnectionType, HttpResponse};
use wsframe;
use wsproto::*;