Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

Convert IServerInformation to IFeatureCollection #329

Closed
Tratcher opened this issue Aug 14, 2015 · 0 comments
Closed

Convert IServerInformation to IFeatureCollection #329

Tratcher opened this issue Aug 14, 2015 · 0 comments

Comments

@Tratcher
Copy link
Member

This allows us to standardize feature support across servers. Middleware may also mutate the collection if they augment the server capabilities (e.g. add websockets). This will be used to address #328 by adding a server feature for reading and configuring addresses and/or ports.

Open question: Should server features be defined in their own package or in Http.Features? We could put them in Server.Abstractions.

IApplicationBuilder.Server changes from object to IFeatureCollection
IServerFactory.Initialize returns IFeatureCollection
IServerInformation.Start takes an IFeatureCollection

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant