Scroll to navigation

Protocol::WebSocket::Cookie::Request(3pm) User Contributed Perl Documentation Protocol::WebSocket::Cookie::Request(3pm)

NAME

Protocol::WebSocket::Cookie::Request - WebSocket Cookie Request

SYNOPSIS

    # Constructor
    # Parser
    my $cookie = Protocol::WebSocket::Cookie::Request->new;
    $cookies = $cookie->parse(
        '$Version=1; foo="bar"; $Path=/; bar=baz; $Domain=.example.com');

DESCRIPTION

Construct or parse a WebSocket request cookie.

ATTRIBUTES

"name"

"value"

"version"

"path"

"domain"

METHODS

"parse"

Parse a WebSocket request cookie.

"to_string"

Construct a WebSocket request cookie.

2019-03-13 perl v5.40.0