Skip to content

Commit bd771d9

Browse files
gengjiawenaddaleax
authored andcommitted
src: remove unimplemented method in node_http2.h
Signed-off-by: gengjiawen <[email protected]> PR-URL: #25732 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 00f8e86 commit bd771d9

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

‎src/node_http2.h‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -693,12 +693,9 @@ class Http2Session : public AsyncWrap, public StreamListener{
693693
returnstatic_cast<StreamBase*>(stream_);
694694
}
695695

696-
voidStart();
697-
voidStop();
698696
voidClose(uint32_t code = NGHTTP2_NO_ERROR,
699697
bool socket_closed = false);
700698
voidConsume(Local<External> external);
701-
voidUnconsume();
702699
voidGoaway(uint32_t code, int32_t lastStreamID, uint8_t* data, size_t len);
703700
voidAltSvc(int32_t id,
704701
uint8_t* origin,
@@ -707,9 +704,6 @@ class Http2Session : public AsyncWrap, public StreamListener{
707704
size_t value_len);
708705
voidOrigin(nghttp2_origin_entry* ov, size_t count);
709706

710-
711-
boolPing(v8::Local<v8::Function> function);
712-
713707
uint8_tSendPendingData();
714708

715709
// Submits a new request. If the request is a success, assigned
@@ -792,8 +786,6 @@ class Http2Session : public AsyncWrap, public StreamListener{
792786
// The JavaScript API
793787
staticvoidNew(const FunctionCallbackInfo<Value>& args);
794788
staticvoidConsume(const FunctionCallbackInfo<Value>& args);
795-
staticvoidUnconsume(const FunctionCallbackInfo<Value>& args);
796-
staticvoidDestroying(const FunctionCallbackInfo<Value>& args);
797789
staticvoidDestroy(const FunctionCallbackInfo<Value>& args);
798790
staticvoidSettings(const FunctionCallbackInfo<Value>& args);
799791
staticvoidRequest(const FunctionCallbackInfo<Value>& args);
@@ -808,9 +800,6 @@ class Http2Session : public AsyncWrap, public StreamListener{
808800
template <get_setting fn>
809801
staticvoidRefreshSettings(const FunctionCallbackInfo<Value>& args);
810802

811-
template <get_setting fn>
812-
staticvoidGetSettings(const FunctionCallbackInfo<Value>& args);
813-
814803
uv_loop_t* event_loop() const{
815804
returnenv()->event_loop();
816805
}

0 commit comments

Comments
(0)