Implements a fake cookie holder.
More...
|
| FakeCookie (string name, string value) |
| Constructs a fake response cookie with the default options.
|
| FakeCookie (string name, string value, CookieOptions options) |
| Constructs the cookie container.
|
|
string | Name [get] |
| The name of the cookie.
|
string | Value [get] |
| The value of the cookie.
|
CookieOptions | Options [get] |
| The options for the cookie.
|
Implements a fake cookie holder.
◆ FakeCookie() [1/2]
PeanutButter.TestUtils.AspNetCore.Fakes.FakeCookie.FakeCookie |
( |
string | name, |
|
|
string | value ) |
Constructs a fake response cookie with the default options.
- Parameters
-
◆ FakeCookie() [2/2]
PeanutButter.TestUtils.AspNetCore.Fakes.FakeCookie.FakeCookie |
( |
string | name, |
|
|
string | value, |
|
|
CookieOptions | options ) |
Constructs the cookie container.
- Parameters
-
◆ Parse()
FakeCookie PeanutButter.TestUtils.AspNetCore.Fakes.FakeCookie.Parse |
( |
string | rawCookie | ) |
|
|
static |
Parse a raw set-cookie header.
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- source/TestUtils/PeanutButter.TestUtils.AspNetCore/Fakes/FakeCookie.cs