RequestScope.connectionState

Delegate the per-session/per-request ConnectionState to the wrapped transport context: the RequestScope is a per-request decorator, so the scoped state is whatever the underlying transport resolved for this request (null when the transport carries none, e.g. stdio / in-process, where the server falls back to its single activeConnection).

class RequestScope
@safe
connectionState
()