Skip to content

Commit

Permalink
Fix README typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwgillespie committed Mar 2, 2022
1 parent b637fb1 commit 416a444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Constructs a `RouteHandler` that matches a given method (`GET`, `POST`, etc) and
- `text(req, options)` - read the request body as a string
- `json(req, options)` - read the request body as parsed JSON

## Request helpers
### Request helpers

- `getHeader(req, header)` - returns the requested header if it was provided
- `fromRequest(fn)` - wraps a function in the form `(req: ServerRequest, ...rest) => any` to return an equivalent function that caches its results for the provided request
Expand Down

0 comments on commit 416a444

Please sign in to comment.