diff options
author | Joshua Flancer <jtflance@protonmail.com> | 2019-01-13 16:54:30 -0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-01-13 19:54:30 -0500 |
commit | fda604ff05f77711ee72c10bd3f40a01fc6ec6a3 (patch) | |
tree | 710e8681e776aa49f21c8096cc6e6171b96f8269 /js/net.ts | |
parent | b1c59d7231102b8f904cdfb6a621e306af301b9f (diff) |
Added rid to Conn interface (#1513)
Diffstat (limited to 'js/net.ts')
-rw-r--r-- | js/net.ts | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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()`. */ |