6 instantiations of ProductHeaderValue
Microsoft.AspNetCore.WebSockets.Tests (5)
WebSocketCompressionMiddlewareTests.cs (1)
173request.Headers.Upgrade.Add(new System.Net.Http.Headers.ProductHeaderValue("websocket"));
WebSocketMiddlewareTests.cs (4)
679request.Headers.Upgrade.Add(new System.Net.Http.Headers.ProductHeaderValue("websocket")); 763request.Headers.Upgrade.Add(new System.Net.Http.Headers.ProductHeaderValue("websocket")); 764request.Headers.Upgrade.Add(new System.Net.Http.Headers.ProductHeaderValue("example")); 835request.Headers.Upgrade.Add(new System.Net.Http.Headers.ProductHeaderValue("websocket"));
Microsoft.DotNet.Helix.Sdk (1)
Helpers.cs (1)
12new ProductInfoHeaderValue(new ProductHeaderValue("HelixSdk", ProductVersion));
7 references to ProductHeaderValue
netstandard (1)
netstandard.cs (1)
1112[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Http.Headers.ProductHeaderValue))]
System.Net.Http (6)
artifacts\obj\System.Net.Http\Debug\net10.0\System.Net.Http.notsupported.cs (6)
708public System.Net.Http.Headers.HttpHeaderValueCollection<System.Net.Http.Headers.ProductHeaderValue> Upgrade { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } } 731public System.Net.Http.Headers.HttpHeaderValueCollection<System.Net.Http.Headers.ProductHeaderValue> Upgrade { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } } 797public static System.Net.Http.Headers.ProductHeaderValue Parse(string input) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } 800public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? input, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Net.Http.Headers.ProductHeaderValue? parsedValue) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } 804public ProductInfoHeaderValue(System.Net.Http.Headers.ProductHeaderValue product) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } 808public System.Net.Http.Headers.ProductHeaderValue? Product { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } }