add deprecated to getClientCallbackTimeout()

This commit is contained in:
李铭昕 2021-04-01 09:47:51 +08:00
parent 50e8e180df
commit a1d0c71f10

View File

@ -324,6 +324,9 @@ class SocketIO implements OnMessageInterface, OnOpenInterface, OnCloseInterface
return $this; return $this;
} }
/**
* @deprecated use SocketIOConfig::getClientCallbackTimeout() instead
*/
private function getClientCallbackTimeout(): int private function getClientCallbackTimeout(): int
{ {
if ($this->clientCallbackTimeout !== 10000) { if ($this->clientCallbackTimeout !== 10000) {