Skip to main content Link Menu Expand (external link) Document Search Copy Copied

This is automatic generated document for things in Swow\Psr7\Message\WebSocketFrameInterface class

Interface WebSocketFrameInterface

Methods

Method getFin

public function getFin ( ) : bool

Method getMask

public function getMask ( ) : bool

Method getMaskingKey

public function getMaskingKey ( ) : string

Method getOpcode

public function getOpcode ( ) : int

Method getPayloadData

public function getPayloadData ( ) : StreamInterface

Method getPayloadLength

public function getPayloadLength ( ) : int

Method getRSV1

public function getRSV1 ( ) : bool

Method getRSV2

public function getRSV2 ( ) : bool

Method getRSV3

public function getRSV3 ( ) : bool

Method setFin

public function setFin ( bool $fin ) : static

Method setMaskingKey

public function setMaskingKey ( string $maskingKey ) : static

Method setOpcode

public function setOpcode ( int $opcode ) : static

Method setPayloadData

public function setPayloadData ( mixed $payloadData ) : static

Method setPayloadLength

public function setPayloadLength ( int $payloadLength ) : static

Method setRSV1

public function setRSV1 ( bool $rsv1 ) : static

Method setRSV2

public function setRSV2 ( bool $rsv2 ) : static

Method setRSV3

public function setRSV3 ( bool $rsv3 ) : static

Method toString

public function toString ( bool $withoutPayloadData ) : string

Method withFin

public function withFin ( bool $fin ) : static

Method withMaskingKey

public function withMaskingKey ( string $maskingKey ) : static

Method withOpcode

public function withOpcode ( int $opcode ) : static

Method withPayloadData

public function withPayloadData ( mixed $payloadData ) : static

Method withPayloadLength

public function withPayloadLength ( int $payloadLength ) : static

Method withRSV1

public function withRSV1 ( bool $rsv1 ) : static

Method withRSV2

public function withRSV2 ( bool $rsv2 ) : static

Method withRSV3

public function withRSV3 ( bool $rsv3 ) : static

Copyright 2022 the Swow contributors