Skip to content

Commit

Permalink
Added a note to the README of the 'Custom Method' example
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienCastex committed Jul 8, 2017
1 parent eadb2b8 commit e58fdaf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/v2/customMethod/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ This example focus on the `TRACE` method, to send to a remote user all actions t
It uses the headers `Trace-Depth`, `Trace-Separator` and `Trace-Method` to customize the answer and the observed resources.

The `ts` file and the `js` file are the same thing. The `js` file displays the example in JavaScript while the `ts` file displays the example in TypeScript.

Note : The methods which can be added are limited to [the supported methods](https://nodejs.org/api/http.html#http_http_methods) in the `http` module.

0 comments on commit e58fdaf

Please sign in to comment.