Compare commits
No commits in common. "c4c1fd8f6bd9bc15c10b5e58d4175a0b1fa81d2a" and "cfd5f69cfb1438c2e940fbc48cf339071e1c1bf2" have entirely different histories.
c4c1fd8f6b
...
cfd5f69cfb
|
@ -153,7 +153,7 @@ class MultiSocketProxy extends proxy_js_1.default {
|
||||||
encoding: {
|
encoding: {
|
||||||
preencode: compact_encoding_1.json.preencode,
|
preencode: compact_encoding_1.json.preencode,
|
||||||
encode: compact_encoding_1.json.encode,
|
encode: compact_encoding_1.json.encode,
|
||||||
decode: this._server ? compact_encoding_1.json.decode : socketEncoding.decode,
|
decode: this._server ? compact_encoding_1.json.encode : socketEncoding.decode,
|
||||||
},
|
},
|
||||||
async onmessage(m) {
|
async onmessage(m) {
|
||||||
if (self._allowedPorts.length &&
|
if (self._allowedPorts.length &&
|
||||||
|
|
|
@ -193,7 +193,7 @@ export default class MultiSocketProxy extends Proxy {
|
||||||
encoding: {
|
encoding: {
|
||||||
preencode: json.preencode,
|
preencode: json.preencode,
|
||||||
encode: json.encode,
|
encode: json.encode,
|
||||||
decode: this._server ? json.decode : socketEncoding.decode,
|
decode: this._server ? json.encode : socketEncoding.decode,
|
||||||
},
|
},
|
||||||
async onmessage(m: SocketRequest | TcpSocketConnectOpts) {
|
async onmessage(m: SocketRequest | TcpSocketConnectOpts) {
|
||||||
if (
|
if (
|
||||||
|
|
Loading…
Reference in New Issue