Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Net.Http.Headers.HeaderUtilities Class Reference

Static Package Functions

static void SetQuality (ObjectCollection< NameValueHeaderValue > parameters, double? value)
 
static bool ContainsNonAscii (string input)
 
static string Encode5987 (string input)
 
static ? double GetQuality (ObjectCollection< NameValueHeaderValue > parameters)
 
static void CheckValidToken (string value, string parameterName)
 
static void CheckValidComment (string value, string parameterName)
 
static void CheckValidQuotedString (string value, string parameterName)
 
static bool AreEqualCollections< T > (ObjectCollection< T > x, ObjectCollection< T > y)
 
static bool AreEqualCollections< T > (ObjectCollection< T > x, ObjectCollection< T > y, IEqualityComparer< T > comparer)
 
static int GetNextNonEmptyOrWhitespaceIndex (string input, int startIndex, bool skipEmptyValues, out bool separatorFound)
 
static ? DateTimeOffset GetDateTimeOffsetValue (HeaderDescriptor descriptor, HttpHeaders store, DateTimeOffset? defaultValue=null)
 
static ? TimeSpan GetTimeSpanValue (HeaderDescriptor descriptor, HttpHeaders store)
 
static bool TryParseInt32 (string value, out int result)
 
static bool TryParseInt32 (string value, int offset, int length, out int result)
 
static bool TryParseInt64 (string value, int offset, int length, out long result)
 
static void DumpHeaders (StringBuilder sb, params HttpHeaders[] headers)
 
static ObjectCollection< NameValueHeaderValueClone (this ObjectCollection< NameValueHeaderValue > source)
 

Static Package Attributes

static readonly TransferCodingHeaderValue TransferEncodingChunked = new TransferCodingHeaderValue("chunked")
 
static readonly NameValueWithParametersHeaderValue ExpectContinue = new NameValueWithParametersHeaderValue("100-continue")
 
static readonly Action< HttpHeaderValueCollection< string >, stringTokenValidator = ValidateToken
 

Static Private Member Functions

static void AddHexEscaped (byte c, StringBuilder destination)
 
static void ValidateToken (HttpHeaderValueCollection< string > collection, string value)
 

Detailed Description

Definition at line 8 of file HeaderUtilities.cs.


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