summaryrefslogtreecommitdiff
path: root/runtime/js/40_tls.js
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2021-04-12 21:55:05 +0200
committerGitHub <noreply@github.com>2021-04-12 15:55:05 -0400
commit46b1c653c0c433932908b7610f60b409af134c76 (patch)
tree00d8b59c8c4e9b90538d548ebd828d2b3f94d4fd /runtime/js/40_tls.js
parenta20504642d083172f297543f9788b128e9c2e0bc (diff)
refactor(deno): remove concept of bin & json ops (#10145)
Diffstat (limited to 'runtime/js/40_tls.js')
-rw-r--r--runtime/js/40_tls.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/js/40_tls.js b/runtime/js/40_tls.js
index e11754b0d..4fafe9079 100644
--- a/runtime/js/40_tls.js
+++ b/runtime/js/40_tls.js
@@ -8,19 +8,19 @@
function opConnectTls(
args,
) {
- return core.jsonOpAsync("op_connect_tls", args);
+ return core.opAsync("op_connect_tls", args);
}
function opAcceptTLS(rid) {
- return core.jsonOpAsync("op_accept_tls", rid);
+ return core.opAsync("op_accept_tls", rid);
}
function opListenTls(args) {
- return core.jsonOpSync("op_listen_tls", args);
+ return core.opSync("op_listen_tls", args);
}
function opStartTls(args) {
- return core.jsonOpAsync("op_start_tls", args);
+ return core.opAsync("op_start_tls", args);
}
async function connectTls({