@creamapi/cream
Version:
Concise REST API Maker - An extension library for express to create REST APIs faster
14 lines (13 loc) • 476 B
TypeScript
import { HeaderBuilder } from '../Headers/HeaderBuilder';
import { Cookie } from './Cookie';
/**
* This class is a header builder that handles Cookie instances instead of pure string
*/
export declare class ResponseCookieManager extends HeaderBuilder<Cookie> {
/**
* This method overrides the base behavior of HeaderBuilder in order
* to return an array of strings for the Set-Cookie header
* @returns
*/
toConcreteHeader(): string | string[];
}