Skip to content

Commit bd771d9

Browse files
gengjiawenaddaleax
authored andcommitted
src: remove unimplemented method in node_http2.h
Signed-off-by: gengjiawen <technicalcute@gmail.com> PR-URL: #25732 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
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

-11
Original file line numberDiff line numberDiff line change
@@ -693,12 +693,9 @@ class Http2Session : public AsyncWrap, public StreamListener {
693693
return static_cast<StreamBase*>(stream_);
694694
}
695695

696-
void Start();
697-
void Stop();
698696
void Close(uint32_t code = NGHTTP2_NO_ERROR,
699697
bool socket_closed = false);
700698
void Consume(Local<External> external);
701-
void Unconsume();
702699
void Goaway(uint32_t code, int32_t lastStreamID, uint8_t* data, size_t len);
703700
void AltSvc(int32_t id,
704701
uint8_t* origin,
@@ -707,9 +704,6 @@ class Http2Session : public AsyncWrap, public StreamListener {
707704
size_t value_len);
708705
void Origin(nghttp2_origin_entry* ov, size_t count);
709706

710-
711-
bool Ping(v8::Local<v8::Function> function);
712-
713707
uint8_t SendPendingData();
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
static void New(const FunctionCallbackInfo<Value>& args);
794788
static void Consume(const FunctionCallbackInfo<Value>& args);
795-
static void Unconsume(const FunctionCallbackInfo<Value>& args);
796-
static void Destroying(const FunctionCallbackInfo<Value>& args);
797789
static void Destroy(const FunctionCallbackInfo<Value>& args);
798790
static void Settings(const FunctionCallbackInfo<Value>& args);
799791
static void Request(const FunctionCallbackInfo<Value>& args);
@@ -808,9 +800,6 @@ class Http2Session : public AsyncWrap, public StreamListener {
808800
template <get_setting fn>
809801
static void RefreshSettings(const FunctionCallbackInfo<Value>& args);
810802

811-
template <get_setting fn>
812-
static void GetSettings(const FunctionCallbackInfo<Value>& args);
813-
814803
uv_loop_t* event_loop() const {
815804
return env()->event_loop();
816805
}

0 commit comments

Comments
 (0)