Replace `ConnInfo` with WinterTC `SocketInfo`
enhancement
### What is the feature you are proposing?
`ConnInfo` is currently a non-standard Hono abstraction to get connection information from a web server. However, a similar solution is being standardized by WinterTC into `SocketInfo` as part of their socket spec. This would make Hono more familiar to users of other environments and make more things designed for WinterTC Sockets work out of the box (like middlewares that rely on `SocketInfo`).
https://sockets-api.proposal.wintertc.org/#socketinfo-dictionary
2 条评论