@exceptionless/fetchclient
Version:
A simple fetch client with middleware support for Deno and the browser.
15 lines • 425 B
TypeScript
declare function parseLinkHeader(linkHeader: string | null | undefined, options?: Options): Links | null;
export interface Link {
url: string;
rel: string;
[queryParam: string]: string;
}
export interface Links {
[rel: string]: Link;
}
export interface Options {
maxHeaderLength?: number;
throwOnMaxHeaderLengthExceeded?: boolean;
}
export { parseLinkHeader };
//# sourceMappingURL=LinkHeader.d.ts.map