From fda604ff05f77711ee72c10bd3f40a01fc6ec6a3 Mon Sep 17 00:00:00 2001 From: Joshua Flancer Date: Sun, 13 Jan 2019 16:54:30 -0800 Subject: Added rid to Conn interface (#1513) --- js/net.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/net.ts') 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()`. */ -- cgit v1.2.3