PermessageDeflateOptions
in package
FinalYes
Table of Contents
Constants
- MAX_WINDOW_BITS = 15
Properties
- $client_max_window_bits : mixed
- $client_no_context_takeover : mixed
- $deflateEnabled : mixed
- $server_max_window_bits : mixed
- $server_no_context_takeover : mixed
- $VALID_BITS : mixed
Methods
- addHeaderToRequest() : mixed
- addHeaderToResponse() : ResponseInterface
- createDisabled() : mixed
- createEnabled() : mixed
- fromRequestOrResponse() : array<string|int, PermessageDeflateOptions>
- https://tools.ietf.org/html/rfc6455#section-9.1 https://tools.ietf.org/html/rfc7692#section-7
- getClientMaxWindowBits() : mixed
- getClientNoContextTakeover() : mixed
- getServerMaxWindowBits() : mixed
- getServerNoContextTakeover() : mixed
- isEnabled() : bool
- permessageDeflateSupported() : mixed
- withClientMaxWindowBits() : mixed
- withClientNoContextTakeover() : mixed
- withoutClientNoContextTakeover() : mixed
- withoutServerNoContextTakeover() : mixed
- withServerMaxWindowBits() : mixed
- withServerNoContextTakeover() : mixed
- __construct() : mixed
Constants
MAX_WINDOW_BITS
public
mixed
MAX_WINDOW_BITS
= 15
Properties
$client_max_window_bits
private
mixed
$client_max_window_bits
$client_no_context_takeover
private
mixed
$client_no_context_takeover
$deflateEnabled
private
mixed
$deflateEnabled
= false
$server_max_window_bits
private
mixed
$server_max_window_bits
$server_no_context_takeover
private
mixed
$server_no_context_takeover
$VALID_BITS
private
static mixed
$VALID_BITS
= ['8', '9', '10', '11', '12', '13', '14', '15']
Methods
addHeaderToRequest()
public
addHeaderToRequest(RequestInterface $request) : mixed
Parameters
- $request : RequestInterface
addHeaderToResponse()
public
addHeaderToResponse(ResponseInterface $response) : ResponseInterface
Parameters
- $response : ResponseInterface
Return values
ResponseInterfacecreateDisabled()
public
static createDisabled() : mixed
createEnabled()
public
static createEnabled() : mixed
fromRequestOrResponse()
https://tools.ietf.org/html/rfc6455#section-9.1 https://tools.ietf.org/html/rfc7692#section-7
public
static fromRequestOrResponse(MessageInterface $requestOrResponse) : array<string|int, PermessageDeflateOptions>
Parameters
- $requestOrResponse : MessageInterface
Tags
Return values
array<string|int, PermessageDeflateOptions>getClientMaxWindowBits()
public
getClientMaxWindowBits() : mixed
getClientNoContextTakeover()
public
getClientNoContextTakeover() : mixed
getServerMaxWindowBits()
public
getServerMaxWindowBits() : mixed
getServerNoContextTakeover()
public
getServerNoContextTakeover() : mixed
isEnabled()
public
isEnabled() : bool
Return values
boolpermessageDeflateSupported()
public
static permessageDeflateSupported([mixed $version = PHP_VERSION ]) : mixed
Parameters
- $version : mixed = PHP_VERSION
withClientMaxWindowBits()
public
withClientMaxWindowBits([mixed $bits = self::MAX_WINDOW_BITS ]) : mixed
Parameters
- $bits : mixed = self::MAX_WINDOW_BITS
withClientNoContextTakeover()
public
withClientNoContextTakeover() : mixed
withoutClientNoContextTakeover()
public
withoutClientNoContextTakeover() : mixed
withoutServerNoContextTakeover()
public
withoutServerNoContextTakeover() : mixed
withServerMaxWindowBits()
public
withServerMaxWindowBits([mixed $bits = self::MAX_WINDOW_BITS ]) : mixed
Parameters
- $bits : mixed = self::MAX_WINDOW_BITS
withServerNoContextTakeover()
public
withServerNoContextTakeover() : mixed
__construct()
private
__construct() : mixed