pub struct HttpRequest {
pub method: String,
pub path: String,
pub query: String,
pub body: Vec<u8>,
pub git_protocol: Option<String>,
pub authorization: Option<String>,
pub destination: Option<String>,
pub lock_token: Option<String>,
pub host: Option<String>,
}Fields§
§method: String§path: String§query: String§body: Vec<u8>§git_protocol: Option<String>Raw Git-Protocol header value (e.g. version=2), if present.
Raw Authorization header value (e.g. Basic …), if present.
destination: Option<String>WebDAV Destination header (MOVE).
lock_token: Option<String>WebDAV lock token from Lock-Token or If header.
host: Option<String>Raw Host header (for LFS batch href construction).
Implementations§
Trait Implementations§
Source§impl Clone for HttpRequest
impl Clone for HttpRequest
Auto Trait Implementations§
impl Forget for HttpRequest
impl Freeze for HttpRequest
impl Move for HttpRequest
impl RefUnwindSafe for HttpRequest
impl Send for HttpRequestwhere
RawVecInner: Send,
impl Sync for HttpRequestwhere
RawVecInner: Sync,
impl Unpin for HttpRequest
impl UnsafeUnpin for HttpRequest
impl UnwindSafe for HttpRequestwhere
RawVecInner: UnwindSafe,
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