Property | Type | Description | |
---|---|---|---|
EnumerableInterfaceGenericType | |||
HttpContentType | |||
HttpRequestMessageType | |||
HttpResponseMessageType | |||
QueryableInterfaceGenericType | |||
Utf16EncodingType | |||
Utf8EncodingType |
Method | Description | |
---|---|---|
CreateEmptyContentHeaders ( ) : |
Creates an empty HttpContentHeaders instance. The only way is to get it from a dummy HttpContent instance.
|
|
DateToString ( DateTimeOffset dateTime ) : string | ||
TryParseDate ( string input, DateTimeOffset &result ) : bool | ||
TryParseInt32 ( string value, int &result ) : bool |
Parses valid integer strings with no leading signs, whitespace or other NumberStyles
|
|
UnquoteToken ( string token ) : string |
Remove bounding quotes on a token if present
|
|
ValidateCollection ( Collection |
Ensure the actual collection is identical to the expected one
|
|
ValidateHeaderToken ( string token ) : bool |
public static CreateEmptyContentHeaders ( ) : |
||
return |
public static DateToString ( DateTimeOffset dateTime ) : string | ||
dateTime | DateTimeOffset | |
return | string |
public static TryParseDate ( string input, DateTimeOffset &result ) : bool | ||
input | string | |
result | DateTimeOffset | |
return | bool |
public static TryParseInt32 ( string value, int &result ) : bool | ||
value | string | The value to parse |
result | int | The result |
return | bool |
public static UnquoteToken ( string token ) : string | ||
token | string | Token to unquote. |
return | string |
public static ValidateCollection ( Collection |
||
actual | Collection |
The actual collection of the instance |
expected | The expected collection of the instance | |
return | bool |
public static ValidateHeaderToken ( string token ) : bool | ||
token | string | |
return | bool |
public static Type,System EnumerableInterfaceGenericType | ||
return |
public static Type,System HttpContentType | ||
return |
public static Type,System HttpRequestMessageType | ||
return |
public static Type,System HttpResponseMessageType | ||
return |
public static Type,System QueryableInterfaceGenericType | ||
return |
public static Type,System Utf16EncodingType | ||
return |