Skip to content

Commit e3e9d40

Browse files
committed
src: remove unimplemented method in node_http2.h
Signed-off-by: gengjiawen <[email protected]>
1 parent 7493db2 commit e3e9d40

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
@@ -696,12 +696,9 @@ class Http2Session : public AsyncWrap, public StreamListener {
696696
return static_cast<StreamBase*>(stream_);
697697
}
698698

699-
void Start();
700-
void Stop();
701699
void Close(uint32_t code = NGHTTP2_NO_ERROR,
702700
bool socket_closed = false);
703701
void Consume(Local<External> external);
704-
void Unconsume();
705702
void Goaway(uint32_t code, int32_t lastStreamID, uint8_t* data, size_t len);
706703
void AltSvc(int32_t id,
707704
uint8_t* origin,
@@ -710,9 +707,6 @@ class Http2Session : public AsyncWrap, public StreamListener {
710707
size_t value_len);
711708
void Origin(nghttp2_origin_entry* ov, size_t count);
712709

713-
714-
bool Ping(v8::Local<v8::Function> function);
715-
716710
uint8_t SendPendingData();
717711

718712
// Submits a new request. If the request is a success, assigned
@@ -795,8 +789,6 @@ class Http2Session : public AsyncWrap, public StreamListener {
795789
// The JavaScript API
796790
static void New(const FunctionCallbackInfo<Value>& args);
797791
static void Consume(const FunctionCallbackInfo<Value>& args);
798-
static void Unconsume(const FunctionCallbackInfo<Value>& args);
799-
static void Destroying(const FunctionCallbackInfo<Value>& args);
800792
static void Destroy(const FunctionCallbackInfo<Value>& args);
801793
static void Settings(const FunctionCallbackInfo<Value>& args);
802794
static void Request(const FunctionCallbackInfo<Value>& args);
@@ -811,9 +803,6 @@ class Http2Session : public AsyncWrap, public StreamListener {
811803
template <get_setting fn>
812804
static void RefreshSettings(const FunctionCallbackInfo<Value>& args);
813805

814-
template <get_setting fn>
815-
static void GetSettings(const FunctionCallbackInfo<Value>& args);
816-
817806
uv_loop_t* event_loop() const {
818807
return env()->event_loop();
819808
}

0 commit comments

Comments
 (0)