UNPKG

padlocal-client-ts

Version:
14 lines (13 loc) 503 B
import { RetryStrategy } from "../utils/RetryStrategy"; import { Bytes } from "../utils/ByteUtils"; export declare class WeChatShortLinkProxy { private static readonly REQ_TIMEOUT; readonly retryStrategy: RetryStrategy; readonly host: string; readonly port: number; readonly traceId: string; readonly reqTimeout: number; constructor(host: string, port: number, traceId: string, timeout?: number); send(path: string, data: Bytes): Promise<Bytes>; private _sendImpl; }