Skip to main content

https_get_with_referer

Function https_get_with_referer 

Source
pub fn https_get_with_referer(
    host: &str,
    path: &str,
    referer: Option<&str>,
) -> Result<HttpsGetResult, &'static str>
Expand description

Referer ヘッダ付きの GET(None なら付けない)。値は呼び出し側が参照元ポリシー (strict-origin-when-cross-origin)で決めたもの(web_engine::referrer)。