Function static_web_server::cors::new
source · pub fn new(
origins_str: &str,
allow_headers_str: &str,
expose_headers_str: &str
) -> Option<Configured>
Expand description
It builds a new CORS instance.
pub fn new(
origins_str: &str,
allow_headers_str: &str,
expose_headers_str: &str
) -> Option<Configured>
It builds a new CORS instance.