Skip to main content

handle_request_cookie_value_command

Function handle_request_cookie_value_command 

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

Handles request cookie value command.

§Parameters

§Returns

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

§Examples

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