From e3e9d405364a5c53f4b52ada262758c631cdbd18 Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Sun, 27 Jan 2019 14:27:57 +0800 Subject: [PATCH] src: remove unimplemented method in node_http2.h Signed-off-by: gengjiawen --- src/node_http2.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/node_http2.h b/src/node_http2.h index 8347510c9d0913..95dc15e6baed0e 100644 --- a/src/node_http2.h +++ b/src/node_http2.h @@ -696,12 +696,9 @@ class Http2Session : public AsyncWrap, public StreamListener { return static_cast(stream_); } - void Start(); - void Stop(); void Close(uint32_t code = NGHTTP2_NO_ERROR, bool socket_closed = false); void Consume(Local external); - void Unconsume(); void Goaway(uint32_t code, int32_t lastStreamID, uint8_t* data, size_t len); void AltSvc(int32_t id, uint8_t* origin, @@ -710,9 +707,6 @@ class Http2Session : public AsyncWrap, public StreamListener { size_t value_len); void Origin(nghttp2_origin_entry* ov, size_t count); - - bool Ping(v8::Local function); - uint8_t SendPendingData(); // Submits a new request. If the request is a success, assigned @@ -795,8 +789,6 @@ class Http2Session : public AsyncWrap, public StreamListener { // The JavaScript API static void New(const FunctionCallbackInfo& args); static void Consume(const FunctionCallbackInfo& args); - static void Unconsume(const FunctionCallbackInfo& args); - static void Destroying(const FunctionCallbackInfo& args); static void Destroy(const FunctionCallbackInfo& args); static void Settings(const FunctionCallbackInfo& args); static void Request(const FunctionCallbackInfo& args); @@ -811,9 +803,6 @@ class Http2Session : public AsyncWrap, public StreamListener { template static void RefreshSettings(const FunctionCallbackInfo& args); - template - static void GetSettings(const FunctionCallbackInfo& args); - uv_loop_t* event_loop() const { return env()->event_loop(); }