summaryrefslogtreecommitdiff
path: root/runtime/ops/http.rs
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2023-01-08 23:48:46 +0100
committerGitHub <noreply@github.com>2023-01-08 23:48:46 +0100
commitc41d4ff90e09b63bd1894052352a5acba57b1704 (patch)
tree52be95551ed263c2f4831aaefc78bb6fdda6d89c /runtime/ops/http.rs
parent2be1282be42369e558cc77f75b22488ce7a8215e (diff)
feat(core): allow specifying name and dependencies of an Extension (#17301)
Diffstat (limited to 'runtime/ops/http.rs')
-rw-r--r--runtime/ops/http.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ops/http.rs b/runtime/ops/http.rs
index e751adae8..a531deb84 100644
--- a/runtime/ops/http.rs
+++ b/runtime/ops/http.rs
@@ -27,7 +27,7 @@ use deno_net::io::UnixStreamResource;
use tokio::net::UnixStream;
pub fn init() -> Extension {
- Extension::builder()
+ Extension::builder("deno_http_runtime")
.ops(vec![
op_http_start::decl(),
op_http_upgrade::decl(),