Documentation

Message
in package
implements IteratorAggregate, MessageInterface

Attributes
#[ReturnTypeWillChange]

Table of Contents

Interfaces

IteratorAggregate
MessageInterface

Properties

$_frames  : SplDoublyLinkedList
$len  : int

Methods

__construct()  : mixed
__toString()  : string
Should return the unmasked payload received from peer
addFrame()  : MessageInterface
count()  : mixed
{@inheritdoc}
getContents()  : string
Get raw contents of the message
getIterator()  : mixed
getOpcode()  : int
getPayload()  : string
Get the payload (message) sent from peer
getPayloadLength()  : int
Get the number of bytes the payload is set to be
getRsv1()  : bool
isBinary()  : bool
isCoalesced()  : bool
Determine if the message is complete or still fragmented

Properties

$_frames

private SplDoublyLinkedList $_frames

Methods

__toString()

Should return the unmasked payload received from peer

public __toString() : string
Return values
string

getContents()

Get raw contents of the message

public getContents() : string
Return values
string

getOpcode()

public getOpcode() : int
Return values
int

getPayload()

Get the payload (message) sent from peer

public getPayload() : string
Return values
string

getPayloadLength()

Get the number of bytes the payload is set to be

public getPayloadLength() : int
Return values
int

getRsv1()

public getRsv1() : bool
Return values
bool

isBinary()

public isBinary() : bool
Return values
bool

isCoalesced()

Determine if the message is complete or still fragmented

public isCoalesced() : bool
Attributes
#[ReturnTypeWillChange]
Return values
bool

        
On this page

Search results