diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 02:50:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 02:50:01 +0000 |
commit | 91275eb478ceb58083426099b6da3f4c7e189f19 (patch) | |
tree | 260f7d2fa77408b38c5cea96b320b9b0b6713ff2 /debian/vendor-h2o/doc/configure/mruby_directives.html | |
parent | Merging upstream version 1.9.4. (diff) | |
download | dnsdist-91275eb478ceb58083426099b6da3f4c7e189f19.tar.xz dnsdist-91275eb478ceb58083426099b6da3f4c7e189f19.zip |
Merging debian version 1.9.4-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/vendor-h2o/doc/configure/mruby_directives.html | 144 |
1 files changed, 0 insertions, 144 deletions
diff --git a/debian/vendor-h2o/doc/configure/mruby_directives.html b/debian/vendor-h2o/doc/configure/mruby_directives.html deleted file mode 100644 index 2a188a5..0000000 --- a/debian/vendor-h2o/doc/configure/mruby_directives.html +++ /dev/null @@ -1,144 +0,0 @@ -<!DOCTYPE html> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" /> -<base href="../" /> - -<!-- oktavia --> -<link rel="stylesheet" href="assets/searchstyle.css" type="text/css" /> -<script src="search/jquery-1.9.1.min.js"></script> -<script src="search/oktavia-jquery-ui.js"></script> -<script src="search/oktavia-english-search.js"></script> -<!-- /oktavia --> - -<link rel="stylesheet" href="assets/style.css" type="text/css" /> - -<title>Mruby Directives - Configure - H2O - the optimized HTTP/2 server</title> -</head> -<body> -<div id="body"> -<div id="top"> - -<h1> -<a href="index.html">H2O</a> -</h1> -<p class="description">the optimized HTTP/1.x, HTTP/2 server</p> - -<!-- oktavia --> -<form id="searchform"> -<input class="search" type="search" name="search" id="search" results="5" value="" placeholder="Search" /> -<div id="searchresult_box"> -<div id="close_search_box">×</div> -<div id="searchresult_summary"></div> -<div id="searchresult"></div> -<div id="searchresult_nav"></div> -<span class="pr">Powered by <a href="https://github.com/shibukawa/oktavia">Oktavia</a></span> -</div> -</form> -<!-- /oktavia --> - -</div> - -<table id="menu"> -<tr> -<td><a href="index.html">Top</a></td> -<td><a href="install.html">Install</a></td> -<td class="selected">Configure</td> -<td><a href="faq.html">FAQ</a></td> -<td><a href="http://blog.kazuhooku.com/search/label/H2O" target="_blank">Blog</a></td> -<td><a href="http://github.com/h2o/h2o/" target="_blank">Source</a></td> -</tr> -</table> - -<div id="main"> - -<h2> -<a href="configure.html">Configure</a> > -Mruby Directives -</h2> - - -<p> -The following are the configuration directives of the mruby handler. -Please refer to <a href="configure/mruby.html">Using mruby</a> to find out how to write handlers using mruby. -</p> - -<div id="mruby.handler" class="directive-head"> -<h3><a href="configure/mruby_directives.html#mruby.handler"><code>"mruby.handler"</code></a></h3> -</div> - -<dl class="directive-desc"> -<dt>Description:</dt> -<dd> -<p> -Upon start-up evaluates given mruby expression, and uses the returned mruby object to handle the incoming requests. - -</p> - - -<div class="example"> -<div class="caption">Example. Hello-world in mruby</div> -<pre><code>mruby.handler: | - Proc.new do |env| - [200, {'content-type' => 'text/plain'}, ["Hello world\n"]] - end -</code></pre> -</div> - - -<p> -Note that the provided expression is evaluated more than once (typically for every thread that accepts incoming connections). -</p> - -</dd> -<dt><a href="configure/syntax_and_structure.html#config_levels">Level</a>:</dt> -<dd>path</dd> -<dt>See also:</dt> -<dd><a href="configure/mruby_directives.html#mruby.handler-file"><code>mruby.handler-file</code></a> -</dd> -</dl> - -<div id="mruby.handler-file" class="directive-head"> -<h3><a href="configure/mruby_directives.html#mruby.handler-file"><code>"mruby.handler-file"</code></a></h3> -</div> - -<dl class="directive-desc"> -<dt>Description:</dt> -<dd> -<p> -Upon start-up evaluates given mruby file, and uses the returned mruby object to handle the incoming requests. - -</p> - - -<div class="example"> -<div class="caption">Example. Hello-world in mruby</div> -<pre><code>mruby.handler-file: /path/to/my-mruby-handler.rb -</code></pre> -</div> - - -<p> -Note that the provided expression is evaluated more than once (typically for every thread that accepts incoming connections). -</p> - -</dd> -<dt><a href="configure/syntax_and_structure.html#config_levels">Level</a>:</dt> -<dd>path</dd> -<dt>See also:</dt> -<dd><a href="configure/mruby_directives.html#mruby.handler"><code>mruby.handler</code></a> -</dd> -</dl> - - - - -</div> -<div id="footer"> -<p> -Copyright © 2015 <a href="http://dena.com/intl/">DeNA Co., Ltd.</a> et al. -</p> -</div> -</body> -</html> |