Skip to content

Commit

Permalink
doc(api): API.md add HapiJS links
Browse files Browse the repository at this point in the history
  • Loading branch information
juneil committed Apr 3, 2017
1 parent 0558188 commit 7efcdd8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion API.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,11 @@ Declare HTTP routes

- `path` - route path (/my/path)
- `method` - can be an array, value: (get, post, put, delete, patch, options)
- `config` - partially implemented, see HapiJS Route configuration
- `config` - partially implemented, see [HapiJS Route config](https://hapijs.com/api#route-configuration)
- `providers` - Providers to add in the request DI, it means at each request a new instance of the provider will be created

- interfaces
- see request and reply on [HapiJS Docs](https://hapijs.com/api#requests)
- `OnGet` - Http Get handler
- arguments: (request, reply)
- `OnPost` - Http Post handler
Expand Down

0 comments on commit 7efcdd8

Please sign in to comment.