React to IFeatureCollection changes.

This commit is contained in:
Chris R 2015-07-29 15:12:57 -07:00
parent 07304640ed
commit 83b2c95385
1 changed files with 3 additions and 3 deletions

View File

@ -27,9 +27,9 @@ namespace Kestrel
private void PopulateFeatures()
{
_features.Add(typeof(IHttpRequestFeature), this);
_features.Add(typeof(IHttpResponseFeature), this);
_features.Add(typeof(IHttpUpgradeFeature), this);
_features[typeof(IHttpRequestFeature)] = this;
_features[typeof(IHttpResponseFeature)] = this;
_features[typeof(IHttpUpgradeFeature)] = this;
}
internal IFeatureCollection Features