DataInterface
in
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
stringgetContents()
Get raw contents of the message
public
getContents() : string
Return values
stringgetPayload()
Get the payload (message) sent from peer
public
getPayload() : string
Return values
stringgetPayloadLength()
Get the number of bytes the payload is set to be
public
getPayloadLength() : int
Return values
intisCoalesced()
Determine if the message is complete or still fragmented
public
isCoalesced() : bool