* Fix decoding method to correctly parse JSON data in multiSocket.ts.
This commit is contained in:
parent
cfd5f69cfb
commit
623601df27
|
@ -193,7 +193,7 @@ export default class MultiSocketProxy extends Proxy {
|
|||
encoding: {
|
||||
preencode: json.preencode,
|
||||
encode: json.encode,
|
||||
decode: this._server ? json.encode : socketEncoding.decode,
|
||||
decode: this._server ? json.decode : socketEncoding.decode,
|
||||
},
|
||||
async onmessage(m: SocketRequest | TcpSocketConnectOpts) {
|
||||
if (
|
||||
|
|
Loading…
Reference in New Issue