diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-12-14 00:54:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-14 00:54:11 +0100 |
| commit | f9db129bdf1e09f6d5faaa73ad0cad27d2418798 (patch) | |
| tree | ffbdd7dd703e6478b8e24f01f9917ba9705365d1 /ext/net/lib.deno_net.d.ts | |
| parent | 392cca87a80951eef32c96a127d73ebe33a9e117 (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/lib.deno_net.d.ts')
| -rw-r--r-- | ext/net/lib.deno_net.d.ts | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/ext/net/lib.deno_net.d.ts b/ext/net/lib.deno_net.d.ts index e8dd5a957..639d0f8af 100644 --- a/ext/net/lib.deno_net.d.ts +++ b/ext/net/lib.deno_net.d.ts @@ -185,19 +185,13 @@ declare namespace Deno { /** @category Network */ export interface TcpConn extends Conn { /** - * **UNSTABLE**: new API, see https://github.com/denoland/deno/issues/13617. - * * Enable/disable the use of Nagle's algorithm. * - * @param [nodelay=true] - */ - setNoDelay(nodelay?: boolean): void; - /** - * **UNSTABLE**: new API, see https://github.com/denoland/deno/issues/13617. - * - * Enable/disable keep-alive functionality. + * @param [noDelay=true] */ - setKeepAlive(keepalive?: boolean): void; + setNoDelay(noDelay?: boolean): void; + /** Enable/disable keep-alive functionality. */ + setKeepAlive(keepAlive?: boolean): void; } /** @category Network */ |
