Browse Source

chore: updates README.md

e22m4u 1 year ago
parent
commit
6f26ab36e4
1 changed files with 3 additions and 5 deletions
  1. 3 5
      README.md

+ 3 - 5
README.md

@@ -178,11 +178,9 @@ router.defineRoute({ // register a route
 
 
 #### postHandler
 #### postHandler
 
 
-Return value of a route handler will be passed as a second
-argument of `postHandler` hook. If return value is not
-`undefined` and `null` that value will be sent as server
-response. The hook may be useful to modify response data
-before send.
+Return value of a route handler is passed to the second
+parameter of `postHandler` hook. It may be useful to modify
+the value before being sent.
 
 
 ```js
 ```js
 router.defineRoute({
 router.defineRoute({