diff options
author | gengjiawen <technicalcute@gmail.com> | 2019-01-27 14:27:57 +0800 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-02-04 10:52:50 +0100 |
commit | c6ecbd36faa3ddf3cc174609e8522d9faa69812c (patch) | |
tree | 1ef80c184b0159949b9840be4a830e08059bbd94 | |
parent | 66f08fdf8bfef2a20aaded049763655f048169ef (diff) | |
download | android-node-v8-c6ecbd36faa3ddf3cc174609e8522d9faa69812c.tar.gz android-node-v8-c6ecbd36faa3ddf3cc174609e8522d9faa69812c.tar.bz2 android-node-v8-c6ecbd36faa3ddf3cc174609e8522d9faa69812c.zip |
src: remove unimplemented method in node_http2.h
Signed-off-by: gengjiawen <technicalcute@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/25732
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
-rw-r--r-- | src/node_http2.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/node_http2.h b/src/node_http2.h index 68c826a676..e6953f6fc1 100644 --- a/src/node_http2.h +++ b/src/node_http2.h @@ -693,12 +693,9 @@ class Http2Session : public AsyncWrap, public StreamListener { return static_cast<StreamBase*>(stream_); } - void Start(); - void Stop(); void Close(uint32_t code = NGHTTP2_NO_ERROR, bool socket_closed = false); void Consume(Local<External> 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, @@ -707,9 +704,6 @@ class Http2Session : public AsyncWrap, public StreamListener { size_t value_len); void Origin(nghttp2_origin_entry* ov, size_t count); - - bool Ping(v8::Local<v8::Function> function); - uint8_t SendPendingData(); // Submits a new request. If the request is a success, assigned @@ -792,8 +786,6 @@ class Http2Session : public AsyncWrap, public StreamListener { // The JavaScript API static void New(const FunctionCallbackInfo<Value>& args); static void Consume(const FunctionCallbackInfo<Value>& args); - static void Unconsume(const FunctionCallbackInfo<Value>& args); - static void Destroying(const FunctionCallbackInfo<Value>& args); static void Destroy(const FunctionCallbackInfo<Value>& args); static void Settings(const FunctionCallbackInfo<Value>& args); static void Request(const FunctionCallbackInfo<Value>& args); @@ -808,9 +800,6 @@ class Http2Session : public AsyncWrap, public StreamListener { template <get_setting fn> static void RefreshSettings(const FunctionCallbackInfo<Value>& args); - template <get_setting fn> - static void GetSettings(const FunctionCallbackInfo<Value>& args); - uv_loop_t* event_loop() const { return env()->event_loop(); } |