How can I access a request and response with a decorator?

前端 未结 0 1071
深忆病人
深忆病人 2020-12-24 03:42

I want to write a custom decorator to get metrics from an endpoint, is there a way for me to access the request as well as a response from a decorator? If not how should I g

相关标签:
回答
  • 消灭零回复
提交回复
热议问题