\app\ws\controllerHandle

Summary

Methods
Properties
Constants
chat()
HandShake()
open()
message()
close()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

chat()

chat() 

HandShake()

HandShake(\swoole_http_request  $request, \swoole_http_response  $response) 

Parameters

\swoole_http_request $request
\swoole_http_response $response

open()

open(\swoole_websocket_server  $svr, \swoole_http_request  $req) 

Parameters

\swoole_websocket_server $svr
\swoole_http_request $req

message()

message(\swoole_server  $server, \swoole_websocket_frame  $frame) 

Parameters

\swoole_server $server
\swoole_websocket_frame $frame

close()

close(  $ser,   $fd) 

Parameters

$ser
$fd