create-request
Version:
A modern, chainable wrapper for fetch with automatic retries, timeouts, comprehensive error handling, and first-class TypeScript support
10 lines (9 loc) • 349 B
TypeScript
import type { CookiesRecord } from "../types.js";
export declare class CookieUtils {
/**
* Formats cookies for a request
* @param cookies Object containing cookie name-value pairs or cookie options
* @returns Formatted cookie string for the Cookie header
*/
static formatRequestCookies(cookies: CookiesRecord): string;
}