*Fix write module call name
This commit is contained in:
parent
d4df7d45c3
commit
e211fa3b48
|
@ -109,7 +109,7 @@ export class Socket extends Client {
|
||||||
}
|
}
|
||||||
|
|
||||||
write(message: string | Buffer): void {
|
write(message: string | Buffer): void {
|
||||||
this.callModule("write", { id: this.id, message });
|
this.callModule("socketWrite", { id: this.id, message });
|
||||||
}
|
}
|
||||||
|
|
||||||
end(): void {
|
end(): void {
|
||||||
|
|
Loading…
Reference in New Issue