Sign in

Type: IMonoCloudCookieResponse

Interface for setting cookies on an outgoing response.

Methods

setCookie()

setCookie(cookieName: string, value: string, options: CookieOptions): Promise<void>

Sets a cookie on the response.

Parameters

ParameterTypeDescription
cookieNamestringThe name of the cookie to set.
valuestringThe value to assign to the cookie.
optionsCookieOptionsSerialization options for the cookie.

Returns

Promise<void>

© 2024 MonoCloud. All rights reserved.