core-geth icon indicating copy to clipboard operation
core-geth copied to clipboard

rpc: library middleware support

Open meowsbits opened this issue 4 years ago • 0 comments

This issue proposes adding support to the rpc package for library-level middleware, akin to

  • https://github.com/gin-gonic/gin#using-middleware
  • https://github.com/gorilla/mux#middleware

This would enable library-use level implementations of header customization, authentication and authorization schemes, and even custom request/response content processing (eg. return receipts with transactions).

meowsbits avatar Jan 11 '21 14:01 meowsbits