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