mirror of
https://github.com/fafhrd91/actix-web
synced 2025-09-02 01:31:57 +02:00
prepare beta 2 release set (#1975)
This commit is contained in:
@@ -197,7 +197,7 @@ where
|
||||
|
||||
/// `Json` extractor configuration.
|
||||
///
|
||||
/// # Usage
|
||||
/// # Examples
|
||||
/// ```
|
||||
/// use actix_web::{error, post, web, App, FromRequest, HttpResponse};
|
||||
/// use serde::Deserialize;
|
||||
|
@@ -13,7 +13,7 @@ use crate::{dev::Payload, error::PathError, FromRequest, HttpRequest};
|
||||
///
|
||||
/// Use [`PathConfig`] to configure extraction process.
|
||||
///
|
||||
/// # Usage
|
||||
/// # Examples
|
||||
/// ```
|
||||
/// use actix_web::{get, web};
|
||||
///
|
||||
|
@@ -23,7 +23,7 @@ use crate::{dev, http::header, web, Error, FromRequest, HttpMessage, HttpRequest
|
||||
///
|
||||
/// See [`PayloadConfig`] for important notes when using this advanced extractor.
|
||||
///
|
||||
/// # Usage
|
||||
/// # Examples
|
||||
/// ```
|
||||
/// use std::future::Future;
|
||||
/// use futures_util::stream::{Stream, StreamExt};
|
||||
@@ -81,7 +81,7 @@ impl FromRequest for Payload {
|
||||
///
|
||||
/// Use [`PayloadConfig`] to configure extraction process.
|
||||
///
|
||||
/// # Usage
|
||||
/// # Examples
|
||||
/// ```
|
||||
/// use actix_web::{post, web};
|
||||
///
|
||||
@@ -118,7 +118,7 @@ impl FromRequest for Bytes {
|
||||
/// [**PayloadConfig**](PayloadConfig) allows to configure
|
||||
/// extraction process.
|
||||
///
|
||||
/// # Usage
|
||||
/// # Examples
|
||||
/// ```
|
||||
/// use actix_web::{post, web, FromRequest};
|
||||
///
|
||||
|
@@ -18,7 +18,7 @@ use crate::{dev::Payload, error::QueryPayloadError, Error, FromRequest, HttpRequ
|
||||
/// A query string consists of unordered `key=value` pairs, therefore it cannot be decoded into any
|
||||
/// type which depends upon data ordering (eg. tuples). Trying to do so will result in a panic.
|
||||
///
|
||||
/// # Usage
|
||||
/// # Examples
|
||||
/// ```
|
||||
/// use actix_web::{get, web};
|
||||
/// use serde::Deserialize;
|
||||
@@ -138,7 +138,7 @@ where
|
||||
|
||||
/// Query extractor configuration.
|
||||
///
|
||||
/// # Usage
|
||||
/// # Examples
|
||||
/// ```
|
||||
/// use actix_web::{error, get, web, App, FromRequest, HttpResponse};
|
||||
/// use serde::Deserialize;
|
||||
|
Reference in New Issue
Block a user