---
name: "Protocol::WebSocket::Cookie::Request"
section: "3pm"
platform: "linux"
package: "libprotocol-websocket-perl"
version: "0.26-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Protocol::WebSocket::Cookie::Request"
---

# Protocol::WebSocket::Cookie::Request(3pm)

WebSocket Cookie Request

## 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.
