summaryrefslogtreecommitdiff
path: root/js/net.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/net.ts')
-rw-r--r--js/net.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/net.ts b/js/net.ts
index decbd5bea..76025869d 100644
--- a/js/net.ts
+++ b/js/net.ts
@@ -57,6 +57,8 @@ export interface Conn extends Reader, Writer, Closer {
localAddr: string;
/** The remote address of the connection. */
remoteAddr: string;
+ /** The resource ID of the connection. */
+ rid: number;
/** Shuts down (`shutdown(2)`) the reading side of the TCP connection. Most
* callers should just use `close()`.
*/