Ordering question when DecodeRequest / EncodeResponse introduced #747
Replies: 1 comment 2 replies
-
It's by design. When people use a buffered plugin B, they may expect that if they change the header according to the body (for example, update the Content-Type), the modification of header is visible for the plugins after B.
No.
Yes. |
Beta Was this translation helpful? Give feedback.
-
I have read the whole doc: https://github.com/mosn/htnn/blob/main/site/content/en/docs/developer-guide/plugin_development.md
The ordering when DecodeRequest / EncodeResponse is not quite clear to me. Some questions:
Let's say we have three plugins in the execution order A->B->C. While B is the plugin which return the "waitAllData=true".
Beta Was this translation helpful? Give feedback.
All reactions