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.
222222
223223### 5.1 Middleware Design
224224
225- The ` ServerMiddlewareInterface ` defines a single method that accepts a server
225+ The ` MiddlewareInterface ` defines a single method that accepts a server
226226request and a delegate and must return a response. The middleware may:
227227
228228- Evolve the request before passing it to the delegate to execute the next
@@ -265,7 +265,7 @@ additional information._
265265
266266The ` DelegateInterface ` defines a single method that accepts a request and
267267returns 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 ` .
269269
270270#### Why isn't the delegate a ` callable ` ?
271271
You can’t perform that action at this time.
0 commit comments