Documentation

DataInterface

Table of Contents

Methods

__toString()  : string
Should return the unmasked payload received from peer
getContents()  : string
Get raw contents of the message
getPayload()  : string
Get the payload (message) sent from peer
getPayloadLength()  : int
Get the number of bytes the payload is set to be
isCoalesced()  : bool
Determine if the message is complete or still fragmented

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

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

isCoalesced()

Determine if the message is complete or still fragmented

public isCoalesced() : bool
Return values
bool

        
On this page

Search results