pub struct Request {
pub ajax: bool,
pub host: String,
pub scheme: String,
pub agent: String,
pub referer: String,
pub ip: String,
pub method: String,
pub path: String,
pub url: String,
pub input: Input,
}Expand description
Request parameters
Values
ajax: bool- Ajax query (only software detect).host: String- Request host. Example: subdomain.domain.zone.scheme: String- Request scheme. Example: http / https.agent: String- HTTP_USER_AGENT.referer: String- HTTP_REFERER.ip: String- Client IP.method: String- REQUEST_METHOD.path: String- DOCUMENT_ROOT.url: String- Request url. Example: /product/view/item/145input: Input- Input http protocol datas.
Fields§
§ajax: boolAjax query (only software detect)
host: StringRequest host. Example: subdomain.domain.zone
scheme: StringRequest scheme. Example: http / https
agent: StringHTTP_USER_AGENT
referer: StringHTTP_REFERER
ip: StringClient IP
method: StringREQUEST_METHOD
path: StringDOCUMENT_ROOT
url: StringRequest url. Example: /product/view/item/145
input: InputInput http protocol datas
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin 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