Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Microsoft.​Net.​Http.​Headers.​CookieHeaderValue
Assembly: Microsoft.Net.Http.Headers
Inheritance: object → CookieHeaderValue
Represents the HTTP request <c>Cookie</c> header.
Properties
Gets or sets the cookie name.
Gets or sets the cookie value.
Methods
public
string
ToString​()
public static
CookieHeaderValue
Parse​(Extensions.​Primitives.​StringSegment input)
Parses <paramref name="input" /> as a <see cref="T:Microsoft.Net.Http.Headers.CookieHeaderValue" /> value.
Returns The parsed values.
input
The values to parse.
public static
bool
TryParse​(Extensions.​Primitives.​StringSegment input,
CookieHeaderValue& parsedValue)
public static
System.​Collections.​Generic.​IList<​CookieHeaderValue>
ParseList​(System.​Collections.​Generic.​IList?<​string> inputs)
Parses a sequence of inputs as a sequence of <see cref="T:Microsoft.Net.Http.Headers.CookieHeaderValue" /> values.
Returns The parsed values.
inputs
The values to parse.
public static
System.​Collections.​Generic.​IList<​CookieHeaderValue>
ParseStrictList​(System.​Collections.​Generic.​IList?<​string> inputs)
Parses a sequence of inputs as a sequence of <see cref="T:Microsoft.Net.Http.Headers.CookieHeaderValue" /> values using string parsing rules.
Returns The parsed values.
inputs
The values to parse.
public static
bool
TryParseList​(System.​Collections.​Generic.​IList?<​string> inputs,
System.​Collections.​Generic.​IList`1&? parsedValues)
public static
bool
TryParseStrictList​(System.​Collections.​Generic.​IList?<​string> inputs,
System.​Collections.​Generic.​IList`1&? parsedValues)
public
bool
Equals​(object obj)
public
int
GetHashCode​()
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object