summaryrefslogtreecommitdiff
path: root/ext/node/ops/http2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node/ops/http2.rs')
-rw-r--r--ext/node/ops/http2.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/ext/node/ops/http2.rs b/ext/node/ops/http2.rs
index d51da3b43..e206db61b 100644
--- a/ext/node/ops/http2.rs
+++ b/ext/node/ops/http2.rs
@@ -357,22 +357,6 @@ pub async fn op_http2_client_send_data(
}
#[op2(async)]
-pub async fn op_http2_client_end_stream(
- state: Rc<RefCell<OpState>>,
- #[smi] stream_rid: ResourceId,
-) -> Result<(), AnyError> {
- let resource = state
- .borrow()
- .resource_table
- .get::<Http2ClientStream>(stream_rid)?;
- let mut stream = RcRef::map(&resource, |r| &r.stream).borrow_mut().await;
-
- // TODO(bartlomieju): handle end of stream
- stream.send_data(BufView::empty(), true)?;
- Ok(())
-}
-
-#[op2(async)]
pub async fn op_http2_client_reset_stream(
state: Rc<RefCell<OpState>>,
#[smi] stream_rid: ResourceId,