~panda-roux/MoonGem

63d4af8c3ce5a3b2658681623982686e84e86657 — panda-roux 6 months ago 437d0d8 middleware
adding command-line options for middleware to the README
1 files changed, 5 insertions(+), 0 deletions(-)

M README.md
M README.md => README.md +5 -0
@@ 68,6 68,11 @@ Network
Content
    -r, --root=<str>      root directory from which to serve content (default: current)
    -c, --chunk=<int>     size in bytes of the chunks loaded into memory while serving static files (default: 16384)

Middleware
    -b, --before=<str>    script to be run before each request is handled
    -a, --after=<str>     script to be run after a request has resulted in a success response code (20)
    -e, --error=<str>     script to be run after a request has resulted in an error response code (40 thru 59)
```

## API