mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
fix(types): added transport to RawAxiosRequestConfig (#5445)
This commit is contained in:
committed by
GitHub
parent
4af78a72ee
commit
6f360a2531
@@ -390,6 +390,7 @@ declare namespace axios {
|
|||||||
maxRate?: number | [MaxUploadRate, MaxDownloadRate];
|
maxRate?: number | [MaxUploadRate, MaxDownloadRate];
|
||||||
beforeRedirect?: (options: Record<string, any>, responseDetails: {headers: Record<string, string>}) => void;
|
beforeRedirect?: (options: Record<string, any>, responseDetails: {headers: Record<string, string>}) => void;
|
||||||
socketPath?: string | null;
|
socketPath?: string | null;
|
||||||
|
transport?: any;
|
||||||
httpAgent?: any;
|
httpAgent?: any;
|
||||||
httpsAgent?: any;
|
httpsAgent?: any;
|
||||||
proxy?: AxiosProxyConfig | false;
|
proxy?: AxiosProxyConfig | false;
|
||||||
|
|||||||
Vendored
+1
@@ -331,6 +331,7 @@ export interface AxiosRequestConfig<D = any> {
|
|||||||
maxRate?: number | [MaxUploadRate, MaxDownloadRate];
|
maxRate?: number | [MaxUploadRate, MaxDownloadRate];
|
||||||
beforeRedirect?: (options: Record<string, any>, responseDetails: {headers: Record<string, string>}) => void;
|
beforeRedirect?: (options: Record<string, any>, responseDetails: {headers: Record<string, string>}) => void;
|
||||||
socketPath?: string | null;
|
socketPath?: string | null;
|
||||||
|
transport?: any;
|
||||||
httpAgent?: any;
|
httpAgent?: any;
|
||||||
httpsAgent?: any;
|
httpsAgent?: any;
|
||||||
proxy?: AxiosProxyConfig | false;
|
proxy?: AxiosProxyConfig | false;
|
||||||
|
|||||||
Reference in New Issue
Block a user