Skip to main content

preview_build_from_cookie

Function preview_build_from_cookie 

Source
fn preview_build_from_cookie(headers: &HeaderMap) -> Option<String>
Expand description

Returns the preview build label from the request’s cookies, if one is set and valid. Invalid values are ignored rather than rejected so a stale cookie can never break the default console.