Skip to content

Commit 7a05e2e

Browse files
committed
fix(docs): remove mention publisher level
1 parent 8650c84 commit 7a05e2e

File tree

1 file changed

+1
-2
lines changed
  • docs/docs/en/getting-started/middlewares

1 file changed

+1
-2
lines changed

docs/docs/en/getting-started/middlewares/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ Also, you can use `BaseMiddleware` inheritors as [Router](../routers/index.md){.
5656

5757
Finally, using middleware, you can also patch outgoing messages. For example, you can compress or encode outgoing messages at the application level, or add custom serialization logic for specific types.
5858

59-
Publisher middlewares can be applied at the **broker**, **router** or each **publisher** level. **Broker** publisher middlewares affect all the ways to publish something (including the `#!python broker.publish` call).
60-
59+
Publisher middlewares can be applied at the **broker** and **router** level. **Publisher middlewares** affect all ways of publishing something, including the `#!python broker.publish` call.
6160
In this case, you need to specify the `publish_scope` method:
6261

6362
```python linenums="1"

0 commit comments

Comments
 (0)