ChannelConnectionOpened
in package
Read onlyYes
FinalYes
Sent by the dispatcher to a channel actor when a new connection joins.
Translated into the actor's onOpened() hook by WebSocketChannelActor.
Tags
Table of Contents
Properties
- $ctx : WebSocketContext
- $fd : int
- $upgradeRequest : ServerRequestInterface
Methods
- __construct() : mixed
Properties
$ctx
public
WebSocketContext
$ctx
$fd
public
int
$fd
$upgradeRequest
public
ServerRequestInterface
$upgradeRequest
Methods
__construct()
public
__construct(int $fd, WebSocketContext $ctx, ServerRequestInterface $upgradeRequest) : mixed
Parameters
- $fd : int
- $ctx : WebSocketContext
- $upgradeRequest : ServerRequestInterface