Skip to content

Commit

Permalink
Update readme.md (#77)
Browse files Browse the repository at this point in the history
fix quotes
  • Loading branch information
dbubel authored Oct 25, 2024
1 parent 9157de9 commit ba25686
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 @@ -560,7 +560,7 @@ You get an instance of the router by calling `server.route(.{})`. Currently, the

* `middlewares` - A list of middlewares to apply to each request. These middleware will be executed even for requests with no matching route (i.e. not found). An individual route can opt-out of these middleware, see the `middleware_strategy` route configuration.

You can use the `get`, `put`, `post`, `head`, `patch`, `trace`, `delete`, `options` or 'connect' method of the router to define a router. You can also use the special `all` method to add a route for all methods.
You can use the `get`, `put`, `post`, `head`, `patch`, `trace`, `delete`, `options` or `connect` method of the router to define a router. You can also use the special `all` method to add a route for all methods.

These functions can all `@panic` as they allocate memory. Each function has an equivalent `tryXYZ` variant which will return an error rather than panicking:

Expand Down

0 comments on commit ba25686

Please sign in to comment.