eee
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Kiri\Server\Contract;
|
||||
|
||||
use Swoole\Server;
|
||||
use Swoole\WebSocket\Server;
|
||||
use Swoole\WebSocket\Frame;
|
||||
|
||||
interface OnMessageInterface
|
||||
@@ -10,9 +10,10 @@ interface OnMessageInterface
|
||||
|
||||
|
||||
/**
|
||||
* @param Frame $frame
|
||||
* @param Server $server
|
||||
* @param Frame $frame
|
||||
* @return void
|
||||
*/
|
||||
public function onMessage(Frame $frame): void;
|
||||
public function onMessage(Server $server, Frame $frame): void;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user