refactor(lib): rename internal http module to proto

This commit is contained in:
Sean McArthur
2017-09-28 18:28:44 -07:00
parent 217941cef2
commit 5027435791
19 changed files with 95 additions and 95 deletions

View File

@@ -45,15 +45,15 @@ pub use uri::Uri;
pub use client::Client;
pub use error::{Result, Error};
pub use header::Headers;
pub use http::{Body, Chunk};
pub use http::request::Request;
pub use http::response::Response;
pub use proto::{Body, Chunk};
pub use proto::request::Request;
pub use proto::response::Response;
pub use method::Method::{self, Get, Head, Post, Put, Delete};
pub use status::StatusCode::{self, Ok, BadRequest, NotFound};
pub use server::Server;
pub use version::HttpVersion;
#[cfg(feature = "raw_status")]
pub use http::RawStatus;
pub use proto::RawStatus;
#[cfg(test)]
mod mock;
@@ -61,7 +61,7 @@ pub mod client;
pub mod error;
mod method;
pub mod header;
mod http;
mod proto;
pub mod server;
mod status;
mod uri;