Skip to main content

request_cookie_value

Function request_cookie_value 

Source
pub fn request_cookie_value(cookie_header: &str, name: &str) -> Option<String>
Expand description

Performs request cookie value.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::request_cookie_value can produce a value and None otherwise.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::request_cookie_value.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::request_cookie_value("session=abc", "name");