@@ -693,12 +693,9 @@ class Http2Session : public AsyncWrap, public StreamListener{
693693return static_cast <StreamBase*>(stream_);
694694 }
695695
696- void Start ();
697- void Stop ();
698696void Close (uint32_t code = NGHTTP2_NO_ERROR,
699697bool socket_closed = false );
700698void Consume (Local<External> external);
701- void Unconsume ();
702699void Goaway (uint32_t code, int32_t lastStreamID, uint8_t * data, size_t len);
703700void AltSvc (int32_t id,
704701uint8_t * origin,
@@ -707,9 +704,6 @@ class Http2Session : public AsyncWrap, public StreamListener{
707704size_t value_len);
708705void Origin (nghttp2_origin_entry* ov, size_t count);
709706
710-
711- bool Ping (v8::Local<v8::Function> function);
712-
713707uint8_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
793787static void New (const FunctionCallbackInfo<Value>& args);
794788static void Consume (const FunctionCallbackInfo<Value>& args);
795- static void Unconsume (const FunctionCallbackInfo<Value>& args);
796- static void Destroying (const FunctionCallbackInfo<Value>& args);
797789static void Destroy (const FunctionCallbackInfo<Value>& args);
798790static void Settings (const FunctionCallbackInfo<Value>& args);
799791static void Request (const FunctionCallbackInfo<Value>& args);
@@ -808,9 +800,6 @@ class Http2Session : public AsyncWrap, public StreamListener{
808800template <get_setting fn>
809801static void RefreshSettings (const FunctionCallbackInfo<Value>& args);
810802
811- template <get_setting fn>
812- static void GetSettings (const FunctionCallbackInfo<Value>& args);
813-
814803uv_loop_t * event_loop () const {
815804return env ()->event_loop ();
816805 }
0 commit comments