pub struct ProxyRequest {
pub method: HttpMethod,
pub path: String,
pub query: Option<String>,
pub headers: HeaderMap,
pub body: Body,
pub context: Arc<RwLock<RequestContext>>,
pub custom_target: Option<String>,
}
Expand description
Represents an HTTP request that can be processed by the proxy.
Fields§
§method: HttpMethod
§path: String
§query: Option<String>
§headers: HeaderMap
§body: Body
§context: Arc<RwLock<RequestContext>>
§custom_target: Option<String>
Trait Implementations§
Source§impl Clone for ProxyRequest
impl Clone for ProxyRequest
Auto Trait Implementations§
impl !Freeze for ProxyRequest
impl !RefUnwindSafe for ProxyRequest
impl Send for ProxyRequest
impl Sync for ProxyRequest
impl Unpin for ProxyRequest
impl !UnwindSafe for ProxyRequest
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