mirror of
https://github.com/denoland/deno.git
synced 2025-07-23 05:05:08 +00:00
Remove Conn.closeRead (#4970)
This commit is contained in:
parent
f899d76667
commit
ea28a088a4
5 changed files with 5 additions and 80 deletions
9
cli/js/lib.deno.ns.d.ts
vendored
9
cli/js/lib.deno.ns.d.ts
vendored
|
@ -1899,11 +1899,12 @@ declare namespace Deno {
|
|||
readonly remoteAddr: Addr;
|
||||
/** The resource ID of the connection. */
|
||||
readonly rid: number;
|
||||
/** Shuts down (`shutdown(2)`) the reading side of the TCP connection. Most
|
||||
* callers should just use `close()`. */
|
||||
closeRead(): void;
|
||||
/** Shuts down (`shutdown(2)`) the writing side of the TCP connection. Most
|
||||
* callers should just use `close()`. */
|
||||
* callers should just use `close()`.
|
||||
*
|
||||
* **Unstable** because of lack of testing and because Deno.shutdown is also
|
||||
* unstable.
|
||||
* */
|
||||
closeWrite(): void;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue