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