class WebSocketServer implements ServerInterface

Class WebSocketServer

Properties

protected LoopInterface $loop
protected SessionHandler|null $sessionHandler
protected EventDispatcherInterface $eventDispatcher
protected PeriodicRegistry $periodicRegistry
protected WampApplication $wampApplication
protected OriginRegistry|null $originRegistry
protected bool $originCheck
protected LoggerInterface $logger
protected ServerPushHandlerRegistry $serverPusherHandlerRegistry
protected TopicManager $topicManager

Methods

__construct(LoopInterface $loop, EventDispatcherInterface $eventDispatcher, PeriodicRegistry $periodicRegistry, WampApplication $wampApplication, OriginRegistry $originRegistry, bool $originCheck, TopicManager $topicManager, ServerPushHandlerRegistry $serverPushHandlerRegistry, LoggerInterface $logger = null)

No description

setSessionHandler(SessionHandlerInterface $sessionHandler)

No description

mixed
launch(string $host, string $port, string $profile)

No description

string
getName()

No description

Details

at line 82
__construct(LoopInterface $loop, EventDispatcherInterface $eventDispatcher, PeriodicRegistry $periodicRegistry, WampApplication $wampApplication, OriginRegistry $originRegistry, bool $originCheck, TopicManager $topicManager, ServerPushHandlerRegistry $serverPushHandlerRegistry, LoggerInterface $logger = null)

Parameters

LoopInterface $loop
EventDispatcherInterface $eventDispatcher
PeriodicRegistry $periodicRegistry
WampApplication $wampApplication
OriginRegistry $originRegistry
bool $originCheck
TopicManager $topicManager
ServerPushHandlerRegistry $serverPushHandlerRegistry
LoggerInterface $logger

at line 109
setSessionHandler(SessionHandlerInterface $sessionHandler)

Parameters

SessionHandlerInterface $sessionHandler

at line 121
mixed launch(string $host, string $port, string $profile)

Parameters

string $host
string $port
string $profile

Return Value

mixed

Exceptions

ConnectionException

at line 178
string getName()

Return Value

string