fix: Websocket propper error when the payload size is too big #586
Annotations
10 errors
Run npm ci:
src/protocols/WebSocket.ts#L246
Replace `this.maxPayloadSize·!==·null·&&·Buffer.byteLength(JSON.stringify(request),·'utf8')·>·this.maxPayloadSize)·{` with `⏎······this.maxPayloadSize·!==·null·&&⏎······Buffer.byteLength(JSON.stringify(request),·"utf8")·>·this.maxPayloadSize`
|
Run npm ci:
src/protocols/WebSocket.ts#L247
Replace `··` with `)·{`
|
Run npm ci:
src/protocols/WebSocket.ts#L248
Insert `·`
|
Run npm ci:
src/protocols/WebSocket.ts#L382
Insert `·`
|
Run npm ci:
src/protocols/WebSocket.ts#L385
Delete `··`
|
Run npm ci:
src/protocols/WebSocket.ts#L386
Delete `··`
|
Run npm ci:
src/protocols/WebSocket.ts#L387
Delete `····`
|
Run npm ci:
src/protocols/WebSocket.ts#L388
Replace `················` with `··········`
|
Run npm ci:
src/protocols/WebSocket.ts#L390
Replace `················` with `··········`
|
Run npm ci:
src/protocols/WebSocket.ts#L391
Replace `······if·(data.result·&&·data.result.server·&&·data.result.server.maxRequestSize)·{` with `if·(⏎············data.result·&&⏎············data.result.server·&&⏎············data.result.server.maxRequestSize`
|
Loading