summaryrefslogtreecommitdiff
path: root/ext/net/01_net.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-12-14 00:54:11 +0100
committerGitHub <noreply@github.com>2022-12-14 00:54:11 +0100
commitf9db129bdf1e09f6d5faaa73ad0cad27d2418798 (patch)
treeffbdd7dd703e6478b8e24f01f9917ba9705365d1 /ext/net/01_net.js
parent392cca87a80951eef32c96a127d73ebe33a9e117 (diff)
feat: Stabilize Deno.TcpConn.setNoDelay() and Deno.TcpConn.setKeepAlive() (#17003)
This commit stabilizes following APIs: - `Deno.TcpConn.setNoDelay()` - `Deno.TcpConn.setKeepAlive()`
Diffstat (limited to 'ext/net/01_net.js')
-rw-r--r--ext/net/01_net.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/net/01_net.js b/ext/net/01_net.js
index 971ec2e8b..f25904e80 100644
--- a/ext/net/01_net.js
+++ b/ext/net/01_net.js
@@ -100,12 +100,12 @@
}
class TcpConn extends Conn {
- setNoDelay(nodelay = true) {
- return ops.op_set_nodelay(this.rid, nodelay);
+ setNoDelay(noDelay = true) {
+ return ops.op_set_nodelay(this.rid, noDelay);
}
- setKeepAlive(keepalive = true) {
- return ops.op_set_keepalive(this.rid, keepalive);
+ setKeepAlive(keepAlive = true) {
+ return ops.op_set_keepalive(this.rid, keepAlive);
}
}