switch to optional Transport.setProtocolVersion
This commit is contained in:
parent
4aaa26d900
commit
33257f14d4
1 changed files with 22 additions and 17 deletions
|
|
@ -254,9 +254,6 @@ export class Server<
|
|||
const protocolVersion = SUPPORTED_PROTOCOL_VERSIONS.includes(requestedVersion)
|
||||
? requestedVersion
|
||||
: LATEST_PROTOCOL_VERSION;
|
||||
if (this.transport) {
|
||||
this.transport.protocolVersion = protocolVersion;
|
||||
}
|
||||
|
||||
return {
|
||||
protocolVersion,
|
||||
|
|
|
|||
Loading…
Reference in a new issue