diff options
| author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-04-12 21:55:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-12 15:55:05 -0400 |
| commit | 46b1c653c0c433932908b7610f60b409af134c76 (patch) | |
| tree | 00d8b59c8c4e9b90538d548ebd828d2b3f94d4fd /runtime/ops/tls.rs | |
| parent | a20504642d083172f297543f9788b128e9c2e0bc (diff) | |
refactor(deno): remove concept of bin & json ops (#10145)
Diffstat (limited to 'runtime/ops/tls.rs')
| -rw-r--r-- | runtime/ops/tls.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/ops/tls.rs b/runtime/ops/tls.rs index 36762d66c..10293cf92 100644 --- a/runtime/ops/tls.rs +++ b/runtime/ops/tls.rs @@ -71,10 +71,10 @@ impl StoresClientSessions for ClientSessionMemoryCache { } pub fn init(rt: &mut deno_core::JsRuntime) { - super::reg_json_async(rt, "op_start_tls", op_start_tls); - super::reg_json_async(rt, "op_connect_tls", op_connect_tls); - super::reg_json_sync(rt, "op_listen_tls", op_listen_tls); - super::reg_json_async(rt, "op_accept_tls", op_accept_tls); + super::reg_async(rt, "op_start_tls", op_start_tls); + super::reg_async(rt, "op_connect_tls", op_connect_tls); + super::reg_sync(rt, "op_listen_tls", op_listen_tls); + super::reg_async(rt, "op_accept_tls", op_accept_tls); } #[derive(Deserialize)] |
