jiangfucheng commented on issue #9747:
URL: https://github.com/apache/apisix/issues/9747#issuecomment-1617129611

   @ikatlinsky  @shreemaan-abhishek  Maybe we can support set multi-phase in 
`serverless` plugin, what do you think?
   example configuration:
   ```
   "serverless-pre-function": {
       "phases": [
        {
                "phase": "body_filter",
                "functions" : ["return function() ngx.log(ngx.ERR, \"serverless 
pre function\"); end"]
        },
        {
                "phase": "header_filter",
                "functions" : ["return function() ngx.log(ngx.ERR, \"serverless 
pre function\"); end"]
        }
       ]
   }
   ``` 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to