monkeyWie / proxyee

HTTP proxy server,support HTTPS&websocket.MITM impl,intercept and tamper HTTPS traffic.
MIT License
1.51k stars 566 forks source link

Idiomatic way to add a health check endpoint #197

Closed er1c closed 2 years ago

er1c commented 2 years ago

If deploying an instance to AWS, or other cloud platforms, there should be a simple way to add a request/response for a healthcheck.

Example:

curl -v 127.0.0.1:9999/status/health

Would return a 200 response.

monkeyWie commented 2 years ago

This project is positioned as a library, the healthcheck should be implemented by bussiness, or I add a common interceptor like CertDownIntercept.java

er1c commented 2 years ago

@monkeyWie I'm fine with that, thanks for the consideration.