Skip to content

Commit

Permalink
Missed reference to old method name
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Aug 5, 2023
1 parent 0cb253e commit 8a166ef
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 @@ -51,7 +51,7 @@ public function setFallback(RequestHandler $requestHandler): void
```

> **Note**
> Middleware defined by `Router::stackMiddleware()` will _not_ be invoked when a request is forwarded to fallback handler. Use `Amp\Http\Server\Middleware\stackMiddleware()` to wrap the fallback request handler with any middlewares needed first.
> Middleware defined by `Router::addMiddleware()` will _not_ be invoked when a request is forwarded to fallback handler. Use `Amp\Http\Server\Middleware\stackMiddleware()` to wrap the fallback request handler with any middlewares needed first.
## Example

Expand Down

0 comments on commit 8a166ef

Please sign in to comment.