Options of the opening handshake: subprotocols and extra headers.
Attributes#
| Attribute | Type | Description |
|---|---|---|
protocols | str | Sequence[str] | None = None | |
headers | Mapping[str, str] | None = None |
Functions#
__init__#
__init__(*, protocols=None, headers=None) -> None| Parameter | Type | Description |
|---|---|---|
protocols | str | Sequence[str] | None = None | |
headers | Mapping[str, str] | None = None |