Deno sets client.address, client.port (honoring x-forwarded-for) and network.protocol.name. Bun sets none. Bun exposes the peer through server.requestIP(request).
Work item. Thread the Server instance into wrapRequestHandler and set the three attributes, gated on dataCollection.userInfo the way Deno does.
Deno sets
client.address,client.port(honoringx-forwarded-for) andnetwork.protocol.name. Bun sets none. Bun exposes the peer throughserver.requestIP(request).Work item. Thread the
Serverinstance intowrapRequestHandlerand set the three attributes, gated ondataCollection.userInfothe way Deno does.