Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros
System.Net.Http.Headers.AltSvcHeaderParser Class Referencesealed

Public Member Functions

override bool TryParseValue (string value, object storeValue, ref int index, out object parsedValue)
 
object ParseValue (string value, object storeValue, ref int index)
 
virtual string ToString (object value)
 

Protected Member Functions

override int GetParsedValueLength (string value, int startIndex, object storeValue, out object parsedValue)
 

Properties

static AltSvcHeaderParser Parser = new AltSvcHeaderParser() [get]
 
bool SupportsMultipleValues [get]
 
string Separator [get]
 
virtual IEqualityComparer Comparer [get]
 

Private Member Functions

 AltSvcHeaderParser ()
 

Static Private Member Functions

static bool IsOptionalWhiteSpace (char ch)
 
static bool TryReadPercentEncodedAlpnProtocolName (string value, int startIndex, [NotNullWhen(true)] out string result, out int readLength)
 
static bool TryReadUnknownPercentEncodedAlpnProtocolName (ReadOnlySpan< char > value, [NotNullWhen(true)] out string result)
 
static bool TryReadAlpnHexDigit (char ch, out int nibble)
 
static bool TryReadQuotedAltAuthority (string value, int startIndex, out string host, out int port, out int readLength)
 
static bool TryReadQuotedValue (ReadOnlySpan< char > value, out string result)
 
static bool TryReadTokenOrQuotedInt32 (string value, int startIndex, out int result, out int readLength)
 
static bool TryReadQuotedInt32Value (ReadOnlySpan< char > value, out int result)
 
static bool TrySkipTokenOrQuoted (string value, int startIndex, out int readLength)
 

Private Attributes

readonly bool _supportsMultipleValues
 
readonly string _separator
 

Detailed Description

Definition at line 6 of file AltSvcHeaderParser.cs.


The documentation for this class was generated from the following file: