diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2015-10-26 01:05:24 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2015-10-26 01:05:24 +0900 |
commit | 128b674e8f9f43d393484afdf24cfa050637331a (patch) | |
tree | 8fe65e7a2feff6112aa1dc67eab7dd09a58d0c87 /README.md | |
parent | d1d45416d381b22add9af90ae615bbb1dd89c157 (diff) | |
download | plum-128b674e8f9f43d393484afdf24cfa050637331a.tar.gz |
update README
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -17,11 +17,11 @@ A minimal pure Ruby implementation of HTTP/2 library / server. * [rhenium/plum-server](https://github.com/rhenium/plum-server) - A static-file server for https://rhe.jp and http://rhe.jp. ### As a Rack-compatible server -Insert `require "plum/rack"` to your `config.ru` -```ruby -require "plum/rack" +Most existing Rack-based applications (plum doesn't support Rack hijack API) should work without modification. +```ruby +# config.ru App = -> env { [ 200, @@ -33,7 +33,7 @@ App = -> env { run App ``` -Then run it with: +You can run it: ```sh % plum -e production -p 8080 --https config.ru |