# CookieHelper

Kind: Class  
Namespace: `Sisk.Core.Helpers`  
Assembly: `Sisk.Core.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Core.Helpers.CookieHelper.html

Provides a class that contains useful methods for working with cookies in HTTP responses.

```csharp
public static class CookieHelper
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← 
[CookieHelper](https://docs.sisk-framework.org/api/Sisk.Core.Helpers.CookieHelper.md)

#### Inherited Members

[object.GetType\(\)](https://learn.microsoft.com/dotnet/api/system.object.gettype), 
[object.MemberwiseClone\(\)](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone), 
[object.ToString\(\)](https://learn.microsoft.com/dotnet/api/system.object.tostring), 
[object.Equals\(object?\)](https://learn.microsoft.com/dotnet/api/system.object.equals\#system\-object\-equals\(system\-object\)), 
[object.Equals\(object?, object?\)](https://learn.microsoft.com/dotnet/api/system.object.equals\#system\-object\-equals\(system\-object\-system\-object\)), 
[object.ReferenceEquals\(object?, object?\)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals), 
[object.GetHashCode\(\)](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)

## Methods

| Name | Description |
| --- | --- |
| [BuildCookieHeaderValue\(Cookie\)](https://docs.sisk-framework.org/api/Sisk.Core.Helpers.CookieHelper.BuildCookieHeaderValue.md#Sisk_Core_Helpers_CookieHelper_BuildCookieHeaderValue_System_Net_Cookie_) | Builds the cookie header value and returns an string from it. |
| [BuildCookieHeaderValue\(string, string, DateTime?, TimeSpan?, string?, string?, bool?, bool?, string?\)](https://docs.sisk-framework.org/api/Sisk.Core.Helpers.CookieHelper.BuildCookieHeaderValue.md#Sisk_Core_Helpers_CookieHelper_BuildCookieHeaderValue_System_String_System_String_System_Nullable_System_DateTime__System_Nullable_System_TimeSpan__System_String_System_String_System_Nullable_System_Boolean__System_Nullable_System_Boolean__System_String_) | Builds the cookie header value and returns an string from it. |
