Omni Gateway Policy Development Kit (PDK), provides two seperate ways to read and write headers and bodies. Choose either depending on your use case:
-
Reading and Writing Request Headers and Bodies with Separate Event States: Use the event flow method when you:
-
Don’t need to read the request body and don’t want to buffer the entire payload.
-
Need to stream the request payload.
-
-
Reading and Writing Request Headers and Bodies with Stop Iteration: Use the stop iteration method when:
-
Your policy must read and write headers and bodies at the same time.
-