1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-29 08:09:18 +02:00

move JsonBody from actix-http

This commit is contained in:
Nikolay Kim
2019-03-16 22:04:09 -07:00
parent 725ee3d396
commit c80884904c
3 changed files with 192 additions and 9 deletions

View File

@@ -58,6 +58,7 @@ pub mod dev {
pub use crate::service::{
HttpServiceFactory, ServiceFromRequest, ServiceRequest, ServiceResponse,
};
pub use crate::types::json::JsonBody;
pub use actix_http::body::{Body, BodyLength, MessageBody, ResponseBody};
pub use actix_http::dev::ResponseBuilder as HttpResponseBuilder;
@@ -95,8 +96,7 @@ pub mod web {
pub use crate::data::{Data, RouteData};
pub use crate::request::HttpRequest;
pub use crate::types::{Form, Json, Path, Payload, Query};
pub use crate::types::{FormConfig, JsonConfig, PayloadConfig};
pub use crate::types::*;
/// Create resource for a specific path.
///