diff --git a/index.js b/index.js index b766b64..1796ad6 100644 --- a/index.js +++ b/index.js @@ -202,7 +202,7 @@ class Connection { } this.writing = true; - this.writeSocket.send(head, undefined, undefined, (error) => { + this.writeSocket.send(head, (error) => { this.writing = false; if (error) {