summaryrefslogtreecommitdiff
path: root/cli/js/deno.ts
diff options
context:
space:
mode:
authorKevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>2019-12-29 07:20:23 -0800
committerRy Dahl <ry@tinyclouds.org>2019-12-29 10:20:23 -0500
commit176d1ff12e1984593282b58adf54f34f971be837 (patch)
treec9894f277d3ee8b330aff04ca7227ba60d5ce6c1 /cli/js/deno.ts
parent4d4908dde31316462acae5caec8dfcbbf7a244bd (diff)
net: expose shutdown() and ShutdownMode (#3558)
Diffstat (limited to 'cli/js/deno.ts')
-rw-r--r--cli/js/deno.ts10
1 files changed, 9 insertions, 1 deletions
diff --git a/cli/js/deno.ts b/cli/js/deno.ts
index 8cce7bfce..c89313ddc 100644
--- a/cli/js/deno.ts
+++ b/cli/js/deno.ts
@@ -77,7 +77,15 @@ export {
export { truncateSync, truncate } from "./truncate.ts";
export { FileInfo } from "./file_info.ts";
export { openPlugin } from "./plugins.ts";
-export { connect, dial, listen, Listener, Conn } from "./net.ts";
+export {
+ connect,
+ dial,
+ listen,
+ Listener,
+ Conn,
+ ShutdownMode,
+ shutdown
+} from "./net.ts";
export { dialTLS, listenTLS } from "./tls.ts";
export { metrics, Metrics } from "./metrics.ts";
export { resources } from "./resources.ts";