Struct fusen_gateway::support::HttpRequest
source · pub struct HttpRequest { /* private fields */ }Implementations§
source§impl HttpRequest
impl HttpRequest
pub async fn new(request: Request<BoxBody<Bytes, Error>>) -> Self
pub fn get_path(&self) -> &str
pub fn get_mut_parameters(&mut self) -> &mut MetaData
pub fn get_org_request(&self) -> &Request<BoxBody<Bytes, Error>>
pub fn get_mut_org_request(&mut self) -> &mut Request<BoxBody<Bytes, Error>>
pub fn into_org_request(self) -> Request<BoxBody<Bytes, Error>>
pub fn into( self, ) -> (Result<Request<BoxBody<Bytes, Infallible>>, Error>, Request<BoxBody<Bytes, Error>>)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for HttpRequest
impl !RefUnwindSafe for HttpRequest
impl Send for HttpRequest
impl Sync for HttpRequest
impl Unpin for HttpRequest
impl !UnwindSafe for HttpRequest
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request