Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ TryParse()

static bool System.Net.Http.Headers.AuthenticationHeaderValue.TryParse ( [NotNullWhen(true)] string? input,
[NotNullWhen(true)] out AuthenticationHeaderValue? parsedValue )
inlinestatic

Definition at line 76 of file AuthenticationHeaderValue.cs.

77 {
78 int index = 0;
79 parsedValue = null;
80 if (GenericHeaderParser.SingleValueAuthenticationParser.TryParseValue(input, null, ref index, out var parsedValue2))
81 {
82 parsedValue = (AuthenticationHeaderValue)parsedValue2;
83 return true;
84 }
85 return false;
86 }

References System.Net.Http.Headers.AuthenticationHeaderValue.AuthenticationHeaderValue(), System.index, System.input, and System.Net.Http.Headers.GenericHeaderParser.SingleValueAuthenticationParser.