Permalink
Browse files

Update master

  • Loading branch information...
1 parent 5f7a7e6 commit 431ca9ccd4ff33252367e1dcead968325df092b5 pianobit labs committed Jun 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -71,7 +71,7 @@ Due its general purpose, _Zen_ does not provide any middleware modules of any ki
## API
- `zapp.errorHandler` : this is the default request handler and the called handler on errors. Must be a function.
-When an `errorHandler` throws exception, this is catched by the original errorHandler (that prints on console).
+When a `Handler` throws exception, this is catched by the original errorHandler (that prints on console).
- `zapp.resultHandler` : this is the result handler. When it throws exception this is catched by the `errorHandler`.
- `zapp.pause` : pauses the engine and buffers the requests.
- `zapp.stop` : stops the engine, requests will be forwarded to the errorHandler.
@@ -95,7 +95,7 @@ understand what is going on.
_zen-http_ is a special flavour of _Zen_ for triadic handlers. It includes proper HTTP result and error handlers and default 404 response. Connect and Stack compatible, a lot faster in real world use cases.
Use `next(err)` to push a 500 error message to the client, `next(null,result)` to send the result with status 200.
-## Benchmarks
+# Benchmarks
Internal benchmarks show how _Zen_ versions are faster than Stack and Stack2

0 comments on commit 431ca9c

Please sign in to comment.