Home
last modified time | relevance | path

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

/third_party/nghttp2/src/
H A 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>(nullpt in create_mruby_context()
[all...]
H A Dshrpx_mruby.h45 class MRubyContext { class
47 MRubyContext(mrb_state *mrb, mrb_value app, mrb_value env);
48 ~MRubyContext();
76 std::unique_ptr<MRubyContext> create_mruby_context(const StringRef &filename);
H A Dshrpx_worker.h75 class MRubyContext;
225 std::shared_ptr<mruby::MRubyContext> mruby_ctx;
360 mruby::MRubyContext *get_mruby_context() const;
425 std::unique_ptr<mruby::MRubyContext> mruby_ctx_;
H A 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()

Completed in 4 milliseconds