Closed sy2un closed 4 years ago
Hi! Thanks for trying Caddy!
I don't think this is currently possible, but it should be soon with the TCP transport plugin!
If you want to count the number of bytes transmitted, you need to get beneath the HTTP layer. As Francis suggested, this Caddy app should do the trick: https://github.com/mholt/conncept
I'm developing a cdn service based on caddy2, and proxy websocket request, i want to count websocket data size, but i don't know how to get websocket data, Has anyone ever done this before? i need some suggestion, thank you
caddy version:v2