diff options
author | Kevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com> | 2019-09-27 16:09:42 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-09-27 19:09:42 -0400 |
commit | 6efca6d1a17638136eadf39644f392f9107a4a6c (patch) | |
tree | 6aedab40214d21396122a97b4e6335a0f084a079 /js/dispatch.ts | |
parent | d36391ad20afe56aaa6e42fd63597221636fdfcb (diff) |
Add Deno.hostname() (#3032)
Diffstat (limited to 'js/dispatch.ts')
-rw-r--r-- | js/dispatch.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/dispatch.ts b/js/dispatch.ts index b5116d68a..5dfec625f 100644 --- a/js/dispatch.ts +++ b/js/dispatch.ts @@ -61,6 +61,7 @@ export const OP_MAKE_TEMP_DIR = 55; export const OP_CWD = 56; export const OP_FETCH_ASSET = 57; export const OP_DIAL_TLS = 58; +export const OP_HOSTNAME = 59; export function asyncMsgFromRust(opId: number, ui8: Uint8Array): void { switch (opId) { |