You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,8 @@ app.use(
55
55
app.listen(3000, () =>console.log('Example app listening on port 3000!'));
56
56
```
57
57
58
+
See [below](#other-servers) for an example of use with fastify.
59
+
58
60
## Options
59
61
60
62
The middleware accepts an `options` Object. The following is a property reference for the Object.
@@ -340,6 +342,30 @@ a modification, please feel free to create an issue on Github. _Note: The issue
340
342
template isn't optional, so please be sure not to remove it, and please fill it
341
343
out completely._
342
344
345
+
## Other servers
346
+
347
+
Examples of use with other servers will follow here.
348
+
349
+
### Fastify
350
+
351
+
Fastify interop will require the use of `fastify-express` instead of `middie` for providing middleware support. As the authors of `fastify-express` recommend, this should only be used as a stopgap while full Fastify support is worked on.
0 commit comments