Documentation

MessageHandler
in package
implements LoggerAwareInterface, Stringable uses StringableTrait

WebSocket\Message\MessageHandler class.

Message/Frame handling.

Table of Contents

Interfaces

LoggerAwareInterface
Describes a logger-aware instance.
Stringable

Constants

DEFAULT_SIZE  = 4096

Properties

$frameHandler  : FrameHandler
$logger  : LoggerInterface
$readBuffer  : array<string|int, mixed>|null

Methods

__construct()  : mixed
__toString()  : string
pull()  : Message
push()  : Message
setLogger()  : void
Sets a logger instance on the object.
stringable()  : string

Constants

Properties

$readBuffer

private array<string|int, mixed>|null $readBuffer = null

Methods

stringable()

protected stringable(string $format, mixed ...$values) : string
Parameters
$format : string
$values : mixed
Return values
string

        
On this page

Search results