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