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:
@@ -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.
|
||||
///
|
||||
|
Reference in New Issue
Block a user