Merge pull request #2953 from heroboy/patch-1

add nodejs missing Socket.unref() and Socket.ref()
This commit is contained in:
Masahiro Wakame
2014-10-10 15:48:41 +09:00
+3
View File
@@ -720,6 +720,9 @@ declare module "net" {
setNoDelay(noDelay?: boolean): void;
setKeepAlive(enable?: boolean, initialDelay?: number): void;
address(): { port: number; family: string; address: string; };
unref(): void;
ref(): void;
remoteAddress: string;
remotePort: number;
bytesRead: number;