serverless-aws-lambda
Version:
AWS Application Load Balancer and API Gateway - Lambda dev tool for Serverless. Allows Express synthax in handlers. Supports packaging, local invoking and offline ALB, APG, S3, SNS, SQS, DynamoDB Stream server mocking.
16 lines (15 loc) • 412 B
TypeScript
export interface CookieOptions {
domain?: string;
encode?: (val: string) => string;
expires?: Date;
httpOnly?: boolean;
maxAge?: number;
path?: string;
priority?: string;
secure?: boolean;
signed?: boolean;
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
}
export declare const cookie: {
serialize: (name: string, val: string, options?: any) => string;
};