File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ being passed implements a middleware signature, which reduces runtime safety.
222
222
223
223
### 5.1 Middleware Design
224
224
225
- The ` ServerMiddlewareInterface ` defines a single method that accepts a server
225
+ The ` MiddlewareInterface ` defines a single method that accepts a server
226
226
request and a delegate and must return a response. The middleware may:
227
227
228
228
- Evolve the request before passing it to the delegate to execute the next
@@ -265,7 +265,7 @@ additional information._
265
265
266
266
The ` DelegateInterface ` defines a single method that accepts a request and
267
267
returns a response. The delegate interface must be implemented by any middleware
268
- dispatcher that uses middleware implementing ` ServerMiddlewareInterface ` .
268
+ dispatcher that uses middleware implementing ` MiddlewareInterface ` .
269
269
270
270
#### Why isn't the delegate a ` callable ` ?
271
271
You can’t perform that action at this time.
0 commit comments