Nexus API Reference

WsConnectionContext extends RequestBoundContext
in package

Read onlyYes
FinalYes
Tags
psalm-api

Resolution context active during WebSocketHandler construction. Carries the per-connection WebSocketContext that #[FromContext] (and implicit type-hint resolution) read.

Lives in nexus-http-ws because nexus-http cannot reference WebSocketContext without taking a hard dep on nexus-http-ws (the reverse of the actual dep direction).

Table of Contents

Properties

$pathParams  : array<string|int, mixed>
$request  : ServerRequestInterface
$scope  : Scope
$services  : ResolverServices
$wsContext  : WebSocketContext

Methods

__construct()  : mixed

Properties

Methods


        
On this page

Search results