diff options
author | Jonathon Orsi <jonathon.orsi@gmail.com> | 2019-09-23 14:40:38 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-09-23 15:12:42 -0400 |
commit | 045e74bb39d7743b774cfd2b889bc6ce1e1ad245 (patch) | |
tree | 93a8429860a40eabaee813e6f983f64aebd8afc7 /js/dispatch.ts | |
parent | 4ff04ad96f27b7073e3478630ed249eedc76af2b (diff) |
feat: Add Deno.dialTLS()
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'js/dispatch.ts')
-rw-r--r-- | js/dispatch.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/dispatch.ts b/js/dispatch.ts index a15da69f4..b5116d68a 100644 --- a/js/dispatch.ts +++ b/js/dispatch.ts @@ -60,6 +60,7 @@ export const OP_TRUNCATE = 54; 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 function asyncMsgFromRust(opId: number, ui8: Uint8Array): void { switch (opId) { @@ -97,6 +98,7 @@ export function asyncMsgFromRust(opId: number, ui8: Uint8Array): void { case OP_READ_LINK: case OP_TRUNCATE: case OP_MAKE_TEMP_DIR: + case OP_DIAL_TLS: json.asyncMsgFromRust(opId, ui8); break; default: |