6 instantiations of ProductHeaderValue
Microsoft.AspNetCore.WebSockets.Tests (5)
WebSocketCompressionMiddlewareTests.cs (1)
173
request.Headers.Upgrade.Add(new System.Net.Http.Headers.
ProductHeaderValue
("websocket"));
WebSocketMiddlewareTests.cs (4)
679
request.Headers.Upgrade.Add(new System.Net.Http.Headers.
ProductHeaderValue
("websocket"));
763
request.Headers.Upgrade.Add(new System.Net.Http.Headers.
ProductHeaderValue
("websocket"));
764
request.Headers.Upgrade.Add(new System.Net.Http.Headers.
ProductHeaderValue
("example"));
835
request.Headers.Upgrade.Add(new System.Net.Http.Headers.
ProductHeaderValue
("websocket"));
Microsoft.DotNet.Helix.Sdk (1)
Helpers.cs (1)
12
new 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)
708
public System.Net.Http.Headers.HttpHeaderValueCollection<System.Net.Http.Headers.
ProductHeaderValue
> Upgrade { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } }
731
public System.Net.Http.Headers.HttpHeaderValueCollection<System.Net.Http.Headers.
ProductHeaderValue
> Upgrade { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } }
797
public static System.Net.Http.Headers.
ProductHeaderValue
Parse(string input) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); }
800
public 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); }
804
public ProductInfoHeaderValue(System.Net.Http.Headers.
ProductHeaderValue
product) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); }
808
public System.Net.Http.Headers.
ProductHeaderValue
? Product { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } }