3 instantiations of ViaHeaderValue
System.Net.Http (3)
System\Net\Http\Headers\ViaHeaderValue.cs (3)
29new ViaHeaderValue(protocolVersion, receivedBy, protocolName, comment); 186parsedValue = new ViaHeaderValue(protocolVersion, receivedBy, protocolName, comment, false); 253return new ViaHeaderValue(this);
14 references to ViaHeaderValue
netstandard (1)
netstandard.cs (1)
1121[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Http.Headers.ViaHeaderValue))]
System.Net.Http (13)
System\Net\Http\Headers\GenericHeaderParser.cs (2)
35internal static readonly GenericHeaderParser SingleValueViaParser = new GenericHeaderParser(false, ViaHeaderValue.GetViaLength); 36internal static readonly GenericHeaderParser MultipleValueViaParser = new GenericHeaderParser(true, ViaHeaderValue.GetViaLength);
System\Net\Http\Headers\HttpGeneralHeaders.cs (3)
16private HttpHeaderValueCollection<ViaHeaderValue>? _via; 137public HttpHeaderValueCollection<ViaHeaderValue> Via => 138_via ??= new HttpHeaderValueCollection<ViaHeaderValue>(KnownHeaders.Via.Descriptor, _parent);
System\Net\Http\Headers\HttpRequestHeaders.cs (1)
256public HttpHeaderValueCollection<ViaHeaderValue> Via
System\Net\Http\Headers\HttpResponseHeaders.cs (1)
124public HttpHeaderValueCollection<ViaHeaderValue> Via
System\Net\Http\Headers\ViaHeaderValue.cs (6)
69private ViaHeaderValue(ViaHeaderValue source) 103obj is ViaHeaderValue other && 118public static ViaHeaderValue Parse(string input) 121return (ViaHeaderValue)GenericHeaderParser.SingleValueViaParser.ParseValue(input, null, ref index); 124public static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out ViaHeaderValue? parsedValue) 131parsedValue = (ViaHeaderValue)output!;