HandshakeHandler
class HandshakeHandler
Methods
Response
Details
at line 14
__construct(Container $container)
No description
at line 27
Response
handleHandshake(Request $request)
Build the WebSocket handshake response for a matched route.
Validates that the matched route's controller class exists (it will be used as the WS handler for subsequent onMessage/onClose callbacks), then builds the 101 Switching Protocols response with the required WebSocket headers.