Home
last modified time | relevance | path

Searched refs:MRubyContext (Results 1 – 4 of 4) sorted by relevance

/third_party/nghttp2/src/
Dshrpx_mruby.cc40 MRubyContext::MRubyContext(mrb_state *mrb, mrb_value app, mrb_value env) in MRubyContext() function in shrpx::mruby::MRubyContext
43 MRubyContext::~MRubyContext() { in ~MRubyContext()
49 int MRubyContext::run_app(Downstream *downstream, int phase) { in run_app()
102 int MRubyContext::run_on_request_proc(Downstream *downstream) { in run_on_request_proc()
106 int MRubyContext::run_on_response_proc(Downstream *downstream) { in run_on_response_proc()
110 void MRubyContext::delete_downstream(Downstream *downstream) { in delete_downstream()
182 std::unique_ptr<MRubyContext> create_mruby_context(const StringRef &filename) { in create_mruby_context()
184 return std::make_unique<MRubyContext>(nullptr, mrb_nil_value(), in create_mruby_context()
221 return std::make_unique<MRubyContext>(mrb, std::move(app), std::move(env)); in create_mruby_context()
Dshrpx_mruby.h45 class MRubyContext {
47 MRubyContext(mrb_state *mrb, mrb_value app, mrb_value env);
48 ~MRubyContext();
76 std::unique_ptr<MRubyContext> create_mruby_context(const StringRef &filename);
Dshrpx_worker.h75 class MRubyContext; variable
225 std::shared_ptr<mruby::MRubyContext> mruby_ctx;
360 mruby::MRubyContext *get_mruby_context() const;
425 std::unique_ptr<mruby::MRubyContext> mruby_ctx_;
Dshrpx_worker.cc268 std::map<StringRef, std::shared_ptr<mruby::MRubyContext>> shared_mruby_ctxs; in replace_downstream_config()
639 mruby::MRubyContext *Worker::get_mruby_context() const { in get_mruby_context()