Closed marten-seemann closed 4 months ago
With #40, we now have two ways to achieve this:
DialTarget
context.DialTarget
callback.Actually, the application can do it all by itself. This is pretty neat!
Here's how it works:
Upgrade
function. Before doing so, it can attach any value it likes to the request context.DialTarget
callback.
Applications might want to know which client they're establishing a connection for, for example.