UNPKG

connect-sdk-nodejs

Version:

SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API

10 lines (9 loc) 566 B
/// <reference types="node" /> import { IncomingHttpHeaders } from "http"; import { Header, SdkContext } from "../model"; export declare function date(): string; export declare function serverMetaInfo(sdkContext: SdkContext): Header; export declare function isBinaryContent(contentType?: string | null): boolean; export declare function isJSON(contentType?: string | null): boolean; export declare function dispositionFilename(headers: IncomingHttpHeaders): string | null; export declare function contentLength(headers: IncomingHttpHeaders): number | string | null;