server: introduce SessionContext to encapsulate NewControl parameters (#5217)
Replace 10 positional parameters in NewControl() with a single SessionContext struct, matching the client-side pattern. This also eliminates the post-construction mutation of clientRegistry and removes two TODO comments.
F
fatedier committed
017d71717f8a64d6ab7d3798b7258f429a7baaed
Parent: bd200b1
Committed by GitHub <noreply@github.com>
on 3/7/2026, 12:17:00 PM