Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 625 Bytes

README.md

File metadata and controls

12 lines (11 loc) · 625 Bytes

Server Middleware

You can learn about how to use hertz middleware:

  • basicauth: how to use basic authorization for request
  • CORS(Cross-Origin Resource Sharing): how to use cors middleware for cross-origin request
  • csrf: how to use csrf middleware
  • custom: how to customize middleware
  • pporf: how to use pprof middleware
  • requestid: how to use requestid middleware
  • gzip: how to use gzip middleware
  • loadbalance: how to use non-default load balancing algorithm

For more information about hertz middleware, please click server middleware