Interface InvokeOption

interface InvokeOption {
    headers?: Record<string, string[]>;
    timeout?: number;
}

Properties

Properties

headers?: Record<string, string[]>

请求头

timeout?: number

超时时间,单位毫秒