File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,12 +41,12 @@ class ExampleContext : public Context {
41
41
public:
42
42
explicit ExampleContext(uint32_t id, RootContext* root) : Context(id, root) {}
43
43
44
- FilterHeadersStatus onRequestHeaders(uint32_t headers) override;
44
+ FilterHeadersStatus onRequestHeaders(uint32_t headers, bool end_of_stream ) override;
45
45
void onDone() override;
46
46
};
47
47
static RegisterContextFactory register_ExampleContext(CONTEXT_FACTORY(ExampleContext));
48
48
49
- FilterHeadersStatus ExampleContext::onRequestHeaders(uint32_t headers) {
49
+ FilterHeadersStatus ExampleContext::onRequestHeaders(uint32_t headers, bool end_of_stream ) {
50
50
logInfo(std::string("onRequestHeaders ") + std::to_string(id()));
51
51
auto path = getRequestHeader(":path");
52
52
logInfo(std::string("header path ") + std::string(path->view()));
You can’t perform that action at this time.
0 commit comments