Skip to content

Commit

Permalink
feat(http): add multipart for server
Browse files Browse the repository at this point in the history
  • Loading branch information
StellarisW committed Oct 25, 2024
1 parent 45193d4 commit c56beae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions volo-http/src/server/utils/multipart.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ use crate::{
/// }
/// };
///
/// # async fn upload_handler(mut multipart: Multipart) -> Result<StatusCode, MultipartRejectionError> {
/// # Ok(StatusCode::OK)
/// # }
/// async fn upload_handler(mut multipart: Multipart) -> Result<StatusCode, MultipartRejectionError> {
/// Ok(StatusCode::OK)
/// }
///
/// let app: Router<_>= Router::new()
/// .route("/",post(upload_handler))
Expand Down

0 comments on commit c56beae

Please sign in to comment.