Struct azure_core::Request
source · pub struct Request { /* private fields */ }
Expand description
A pipeline request.
A pipeline request is composed by a destination (uri), a method, a collection of headers and a body. Policies are expected to enrich the request by mutating it.
Implementations§
source§impl Request
impl Request
sourcepub fn new(url: Url, method: Method) -> Self
pub fn new(url: Url, method: Method) -> Self
Create a new request with an empty body and no headers