\App\Http\Controllers\WebSocketWebSocketController

Summary

Methods
Properties
Constants
home()
__construct()
send()
$clientId
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$clientId

$clientId : 

Type

Methods

home()

home() : \Illuminate\Contracts\View\View

homePage

Returns

\Illuminate\Contracts\View\View

__construct()

__construct(string|null  $clientId = null) 

WebSocket constructor.

Parameters

string|null $clientId

全局唯一的客户端socket连接标识

send()

send(\Symfony\Component\HttpFoundation\Response  $response) 

发送数据

Parameters

\Symfony\Component\HttpFoundation\Response $response