public DefaultHandshakeNegotiator(IHostConfiguration hostConfiguration, IProtocolSelector protocolSelector, IQueryParametersBuilder queryParametersBuilder, IRouteParametersBuilder routeParametersBuilder, IRouteResolver routeResolver, ISubProtocolNegotiator subProtocolNegotiator)
 {
     _hostConfiguration = hostConfiguration;
     _protocolSelector = protocolSelector;
     _queryParametersBuilder = queryParametersBuilder;
     _routeParametersBuilder = routeParametersBuilder;
     _routeResolver = routeResolver;
     _subProtocolNegotiator = subProtocolNegotiator;
 }
 public WebSocketVersionFilteringHandshakeNegotiator(IHandshakeNegotiator handshakeNegotiator, IProtocolSelector protocolSelector)
 {
     _handshakeNegotiator = handshakeNegotiator;
     _protocolSelector = protocolSelector;
 }