The runtime-owned factory for the local diagnostics listener, provided by
the RuntimePlugin under CAPABILITIES.LOCAL_DIAGNOSTICS_LISTENER.
Deliberately narrow, because the application's own IHttpAdapter
is stateful and cannot be reused or cloned for a second listener: this
factory permits ONE active listener, binds ONLY 127.0.0.1, accepts no
hostname, adapter, or body-limit option, and returns a handle whose sole
operation is ILocalDiagnosticsListener.close. It is the local
diagnostics transport, not a generic second HTTP server API.
Implementations on runtimes without a supported local transport reject
every listen call with one fixed unsupported-transport error before any
bind is attempted.
The runtime-owned factory for the local diagnostics listener, provided by the RuntimePlugin under
CAPABILITIES.LOCAL_DIAGNOSTICS_LISTENER.Deliberately narrow, because the application's own
IHttpAdapteris stateful and cannot be reused or cloned for a second listener: this factory permits ONE active listener, binds ONLY127.0.0.1, accepts no hostname, adapter, or body-limit option, and returns a handle whose sole operation isILocalDiagnosticsListener.close. It is the local diagnostics transport, not a generic second HTTP server API.Implementations on runtimes without a supported local transport reject every
listencall with one fixed unsupported-transport error before any bind is attempted.Example
Since
0.8.0