Add an IChangeToken to IServerAddressesFeature #21246
Labels
affected-few
This issue impacts only small number of customers
api-suggestion
Early API idea and discussion, it is NOT ready for implementation
area-hosting
Includes Hosting
area-networking
Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
severity-minor
This label is used by an internal tool
Milestone
Is your feature request related to a problem? Please describe.
This is a followup to #19376. HttpSys and now Kestrel both support reconfiguring endpoints at runtime. When an endpoint is added or removed, the IServerAddressesFeature is updated to reflect this changes. Unfortunately there is no way to observe when the IServerAddressesFeature changes today.
Describe the solution you'd like
We should add an IChangeToken to IServerAddressesFeature so app developers can have a way to react to server endpoint reconfiguration.
The text was updated successfully, but these errors were encountered: