@@ -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