메소드 | 설명 | |
---|---|---|
checkVersion ( Kraken\Network\Http\HttpRequestInterface $request ) : boolean | Return true if any of enabled versions supports WebSocket protocol demanded in request. | |
disableVersion ( Kraken\Network\Websocket\Driver\Version\VersionInterface $version ) : Kraken\Network\Websocket\Driver\Version\VersionManagerInterface | Disable support for a specific version of the WebSocket protocol. | |
enableVersion ( Kraken\Network\Websocket\Driver\Version\VersionInterface $version ) : Kraken\Network\Websocket\Driver\Version\VersionManagerInterface | Enable support for a specific version of the WebSocket protocol. | |
getVersion ( Kraken\Network\Http\HttpRequestInterface $request ) : Kraken\Network\Websocket\Driver\Version\VersionInterface | null | Get the protocol negotiator for the request, if supported. | |
getVersionHeader ( ) : string |
public checkVersion ( Kraken\Network\Http\HttpRequestInterface $request ) : boolean | ||
$request | Kraken\Network\Http\HttpRequestInterface | |
리턴 | boolean |
public disableVersion ( Kraken\Network\Websocket\Driver\Version\VersionInterface $version ) : Kraken\Network\Websocket\Driver\Version\VersionManagerInterface | ||
$version | Kraken\Network\Websocket\Driver\Version\VersionInterface | |
리턴 | Kraken\Network\Websocket\Driver\Version\VersionManagerInterface |
public enableVersion ( Kraken\Network\Websocket\Driver\Version\VersionInterface $version ) : Kraken\Network\Websocket\Driver\Version\VersionManagerInterface | ||
$version | Kraken\Network\Websocket\Driver\Version\VersionInterface | |
리턴 | Kraken\Network\Websocket\Driver\Version\VersionManagerInterface |
public getVersion ( Kraken\Network\Http\HttpRequestInterface $request ) : Kraken\Network\Websocket\Driver\Version\VersionInterface | null | ||
$request | Kraken\Network\Http\HttpRequestInterface | |
리턴 | Kraken\Network\Websocket\Driver\Version\VersionInterface | null |