| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f9b61d2 commit 964dff8
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2723,14 +2723,6 @@ void Http2Stream::Destroy(const FunctionCallbackInfo<Value>& args) { | |||
| 2723 | 2723 | stream->Destroy(); | |
| 2724 | 2724 | } | |
| 2725 | 2725 | ||
| 2726 | - // Prompt the Http2Stream to begin sending data to the JS land. | ||
| 2727 | - void Http2Stream::FlushData(const FunctionCallbackInfo<Value>& args) { | ||
| 2728 | - Http2Stream* stream; | ||
| 2729 | - ASSIGN_OR_RETURN_UNWRAP(&stream, args.Holder()); | ||
| 2730 | - stream->ReadStart(); | ||
| 2731 | - Debug(stream, "data flushed to js"); | ||
| 2732 | - } | ||
| 2733 | - | ||
| 2734 | 2726 | // Initiate a Push Promise and create the associated Http2Stream | |
| 2735 | 2727 | void Http2Stream::PushPromise(const FunctionCallbackInfo<Value>& args) { | |
| 2736 | 2728 | Environment* env = Environment::GetCurrent(args); | |
@@ -3129,7 +3121,6 @@ void Initialize(Local<Object> target, | |||
| 3129 | 3121 | stream->SetClassName(FIXED_ONE_BYTE_STRING(env->isolate(), "Http2Stream")); | |
| 3130 | 3122 | env->SetProtoMethod(stream, "id", Http2Stream::GetID); | |
| 3131 | 3123 | env->SetProtoMethod(stream, "destroy", Http2Stream::Destroy); | |
| 3132 | - env->SetProtoMethod(stream, "flushData", Http2Stream::FlushData); | ||
| 3133 | 3124 | env->SetProtoMethod(stream, "priority", Http2Stream::Priority); | |
| 3134 | 3125 | env->SetProtoMethod(stream, "pushPromise", Http2Stream::PushPromise); | |
| 3135 | 3126 | env->SetProtoMethod(stream, "info", Http2Stream::Info); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -581,7 +581,6 @@ class Http2Stream : public AsyncWrap, | |||
| 581 | 581 | // JavaScript API | |
| 582 | 582 | static void GetID(const FunctionCallbackInfo<Value>& args); | |
| 583 | 583 | static void Destroy(const FunctionCallbackInfo<Value>& args); | |
| 584 | - static void FlushData(const FunctionCallbackInfo<Value>& args); | ||
| 585 | 584 | static void Priority(const FunctionCallbackInfo<Value>& args); | |
| 586 | 585 | static void PushPromise(const FunctionCallbackInfo<Value>& args); | |
| 587 | 586 | static void RefreshState(const FunctionCallbackInfo<Value>& args); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments