@@ -693,12 +693,9 @@ class Http2Session : public AsyncWrap, public StreamListener {
693
693
return static_cast <StreamBase*>(stream_);
694
694
}
695
695
696
- void Start ();
697
- void Stop ();
698
696
void Close (uint32_t code = NGHTTP2_NO_ERROR,
699
697
bool socket_closed = false );
700
698
void Consume (Local<External> external);
701
- void Unconsume ();
702
699
void Goaway (uint32_t code, int32_t lastStreamID, uint8_t * data, size_t len);
703
700
void AltSvc (int32_t id,
704
701
uint8_t * origin,
@@ -707,9 +704,6 @@ class Http2Session : public AsyncWrap, public StreamListener {
707
704
size_t value_len);
708
705
void Origin (nghttp2_origin_entry* ov, size_t count);
709
706
710
-
711
- bool Ping (v8::Local<v8::Function> function);
712
-
713
707
uint8_t SendPendingData ();
714
708
715
709
// Submits a new request. If the request is a success, assigned
@@ -792,8 +786,6 @@ class Http2Session : public AsyncWrap, public StreamListener {
792
786
// The JavaScript API
793
787
static void New (const FunctionCallbackInfo<Value>& args);
794
788
static void Consume (const FunctionCallbackInfo<Value>& args);
795
- static void Unconsume (const FunctionCallbackInfo<Value>& args);
796
- static void Destroying (const FunctionCallbackInfo<Value>& args);
797
789
static void Destroy (const FunctionCallbackInfo<Value>& args);
798
790
static void Settings (const FunctionCallbackInfo<Value>& args);
799
791
static void Request (const FunctionCallbackInfo<Value>& args);
@@ -808,9 +800,6 @@ class Http2Session : public AsyncWrap, public StreamListener {
808
800
template <get_setting fn>
809
801
static void RefreshSettings (const FunctionCallbackInfo<Value>& args);
810
802
811
- template <get_setting fn>
812
- static void GetSettings (const FunctionCallbackInfo<Value>& args);
813
-
814
803
uv_loop_t * event_loop () const {
815
804
return env ()->event_loop ();
816
805
}
0 commit comments