pub struct Request {
pub method: Method,
pub authority: Vec<u8>,
pub path: Vec<u8>,
pub headers: Vec<HeaderField>,
pub body: Vec<u8>,
}Expand description
A complete plaintext request supplied to or returned by the engine.
Fields§
§method: MethodSupported HTTP method.
URI authority, such as api.example.com or api.example.com:8443.
path: Vec<u8>Path and optional query, beginning with /, or * for OPTIONS.
headers: Vec<HeaderField>Ordered end-to-end HTTP fields.
body: Vec<u8>Complete bounded request body. Empty bodies remain authenticated.
Trait Implementations§
impl Eq for Request
impl StructuralPartialEq for Request
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more