Interface ICookieService
Assembly: Volo.Abp.AspNetCore.Components.Web.dll
Syntax
public interface ICookieService
Methods
DeleteAsync(string, string)
Declaration
ValueTask DeleteAsync(string key, string path = null)
Parameters
| Type |
Name |
Description |
| string |
key |
|
| string |
path |
|
Returns
| Type |
Description |
| System.Threading.Tasks.ValueTask |
|
GetAsync(string)
Declaration
ValueTask<string> GetAsync(string key)
Parameters
| Type |
Name |
Description |
| string |
key |
|
Returns
| Type |
Description |
| System.Threading.Tasks.ValueTask<TResult><string> |
|
SetAsync(string, string, CookieOptions)
Declaration
ValueTask SetAsync(string key, string value, CookieOptions options = null)
Parameters
| Type |
Name |
Description |
| string |
key |
|
| string |
value |
|
| CookieOptions |
options |
|
Returns
| Type |
Description |
| System.Threading.Tasks.ValueTask |
|
Extension Methods