Documentation

PingInterval
in package
implements LoggerAwareInterface, ProcessOutgoingInterface, ProcessTickInterface, Stringable uses LoggerAwareTrait, StringableTrait

WebSocket\Middleware\PingInterval class.

Handles close procedure.

Table of Contents

Interfaces

LoggerAwareInterface
Describes a logger-aware instance.
ProcessOutgoingInterface
WebSocket\Middleware\ProcessOutgoingInterface interface.
ProcessTickInterface
WebSocket\Middleware\ProcessTickInterface interface.
Stringable

Properties

$logger  : LoggerInterface|null
The logger instance.
$interval  : int|null

Methods

__construct()  : mixed
__toString()  : string
processOutgoing()  : Message
processTick()  : void
setLogger()  : void
Sets a logger.
stringable()  : string
getNext()  : int
setNext()  : int

Properties

Methods

__construct()

public __construct([int|null $interval = null ]) : mixed
Parameters
$interval : int|null = null

stringable()

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

        
On this page

Search results