summaryrefslogtreecommitdiff
path: root/runtime/ops/http.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ops/http.rs')
-rw-r--r--runtime/ops/http.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/ops/http.rs b/runtime/ops/http.rs
index 1ab8cb998..3642a0ac3 100644
--- a/runtime/ops/http.rs
+++ b/runtime/ops/http.rs
@@ -145,7 +145,7 @@ struct NextRequestResponse(
async fn op_http_request_next(
state: Rc<RefCell<OpState>>,
conn_rid: ResourceId,
- _data: Option<ZeroCopyBuf>,
+ _: (),
) -> Result<Option<NextRequestResponse>, AnyError> {
let conn_resource = state
.borrow()
@@ -278,7 +278,7 @@ fn should_ignore_error(e: &AnyError) -> bool {
fn op_http_start(
state: &mut OpState,
tcp_stream_rid: ResourceId,
- _data: Option<ZeroCopyBuf>,
+ _: (),
) -> Result<ResourceId, AnyError> {
let deno_service = Service::default();
@@ -407,7 +407,7 @@ async fn op_http_response(
async fn op_http_response_close(
state: Rc<RefCell<OpState>>,
rid: ResourceId,
- _data: Option<ZeroCopyBuf>,
+ _: (),
) -> Result<(), AnyError> {
let resource = state
.borrow_mut()