1. Proxies and Flow

response

Version

Interceptors are usually applied to requests and responses. By nesting interceptors into a <response> plugin you can limit their application to responses only.

Example Configuration

api:
port: 2000
flow:
- response:
- static:
src: Hello!
- return: {}
api:
   port: 2000
   flow:
     - response:
         - static:
             src: Hello!
     - return: {}

Syntax

response:
- <flow>
response:
  - <flow>

Child Structure

ElementCardinalityDescription
flow0..*Sets the flow of plugins that will be executed.

Can be used in