Skip to content

Commit

Permalink
Merge pull request #12 from abdulhannanali/patch-1
Browse files Browse the repository at this point in the history
Update README to README.md
  • Loading branch information
alberto-bottarini committed Jan 22, 2016
2 parents ba0feb8 + 1e1338f commit 368378a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README → README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ httpdispatcher is a simple class allows developer to have a clear dispatcher for
Classes http.ServerRequest and http.ServerResponse earns new params property containing a map of received HTTP parameters.
Using httpdispatcher is pretty simple:

```js
var dispatcher = require('./httpdispatcher');

dispatcher.setStatic('resources');
Expand Down Expand Up @@ -46,4 +47,4 @@ Using httpdispatcher is pretty simple:
GET /resources/images-that-exists.png => Image resource
GET /resources/images-that-does-not-exists.png => 404
*/

```

0 comments on commit 368378a

Please sign in to comment.