You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/11/06 11:13:35 UTC

[GitHub] [apisix] tokers commented on issue #8249: feat: Can serverless plugin stops the request and make an immediate response?

tokers commented on issue #8249:
URL: https://github.com/apache/apisix/issues/8249#issuecomment-1304776380

   @oyiadin Yes, you can, I write the way here directly because I found it's not recorded. cc @tzssangglass 
   
   You can just return two values in your codes.
   
   ```lua
   return {code}, {body}
   ```


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org