Type Definition rocket_cors::headers::Origin
source · pub type Origin = Url;
Expand description
The Origin
request header used in CORS
You can use this as a rocket Request Guard
to ensure that Origin
is passed in correctly.
pub type Origin = Url;
The Origin
request header used in CORS
You can use this as a rocket Request Guard
to ensure that Origin
is passed in correctly.