18 references to GetCommaSeparatedValues
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsService.cs (1)
124headers.GetCommaSeparatedValues(CorsConstants.AccessControlRequestHeaders) :
Microsoft.AspNetCore.Http (1)
Internal\DefaultWebSocketManager.cs (1)
57return HttpRequestFeature.Headers.GetCommaSeparatedValues(HeaderNames.WebSocketSubProtocols);
Microsoft.AspNetCore.Http.Tests (3)
HeaderDictionaryTests.cs (3)
49var result = headers.GetCommaSeparatedValues("Header1"); 64var result = headers.GetCommaSeparatedValues("Header1"); 111var result = headers.GetCommaSeparatedValues("Via");
Microsoft.AspNetCore.HttpOverrides (4)
ForwardedHeadersMiddleware.cs (4)
132forwardedFor = requestHeaders.GetCommaSeparatedValues(_options.ForwardedForHeaderName); 139forwardedProto = requestHeaders.GetCommaSeparatedValues(_options.ForwardedProtoHeaderName); 151forwardedHost = requestHeaders.GetCommaSeparatedValues(_options.ForwardedHostHeaderName); 165forwardedPrefix = requestHeaders.GetCommaSeparatedValues(_options.ForwardedPrefixHeaderName);
Microsoft.AspNetCore.Mvc.Core (3)
ModelBinding\Binders\HeaderModelBinder.cs (3)
111values = request.Headers.GetCommaSeparatedValues(headerName); 135var values = request.Headers.GetCommaSeparatedValues(headerName); 156request.Headers.GetCommaSeparatedValues(headerName),
Microsoft.AspNetCore.ResponseCaching (1)
ResponseCachingMiddleware.cs (1)
256var varyHeaders = new StringValues(headers.GetCommaSeparatedValues(HeaderNames.Vary));
Microsoft.AspNetCore.ResponseCompression (1)
ResponseCompressionBody.cs (1)
208var varyValues = headers.GetCommaSeparatedValues(HeaderNames.Vary);
Microsoft.AspNetCore.WebSockets (4)
WebSocketMiddleware.cs (4)
174foreach (var extension in _context.Request.Headers.GetCommaSeparatedValues(HeaderNames.SecWebSocketExtensions)) 241var values = requestHeaders.GetCommaSeparatedValues(HeaderNames.Upgrade); 261values = requestHeaders.GetCommaSeparatedValues(HeaderNames.Connection); 302var values = requestHeaders.GetCommaSeparatedValues(HeaderNames.SecWebSocketVersion);