fix: use send not write
This commit is contained in:
parent
84f51ff57a
commit
940d768d5b
|
@ -83,6 +83,6 @@ export default class HyperTransportPeer extends BasePeer {
|
||||||
}
|
}
|
||||||
|
|
||||||
sendMessage(message: Uint8Array): void {
|
sendMessage(message: Uint8Array): void {
|
||||||
this._pipe.write(message);
|
this._pipe.send(message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue