Skip to content

Commit

Permalink
docs(readme): add decorateReply option (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Dec 4, 2024
1 parent 0115450 commit 491ed8e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ fastify.post('/', function (req, reply) {
})
```

### Options

- `decorateReply` If `true`, the `Reply` object will be decorated with the `requestAccepts`, `requestTypes`, `requestCharsets`, `requestEncodings`, and `requestLanguages` methods, which will return the corresponding values from the `Request` object. Default: `false`.

```js
## License

Licensed under [MIT](./LICENSE).

0 comments on commit 491ed8e

Please sign in to comment.