Add an IChangeToken to IServerAddressesFeature
Open
affected-few
api-suggestion
area-hosting
area-networking
enhancement
severity-minor
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 281
Description
### 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.
Contributor guide
Assessment
This issue has not been assessed yet.