RequestOptions Interface

Beta

Properties

Name Type Description
accept undefined | string    
agent undefined | https.Agent    
auth undefined | RequestBasicCredentials    
body undefined | any    
buffer undefined | any    
errorCallback undefined | (response: any) => ResponseError    
headers undefined | any    
method string    
parser undefined | any    
progressCallback undefined | (progress: ProgressInfo) => void    
qs any | RequestQueryOptions    
readStream undefined | any    
redirects undefined | number    
responseType undefined | string    
retries undefined | number    
retryCallback undefined | (error: any, response: any) => boolean    
stream undefined | any    
timeout undefined | RequestTimeoutOptions    
useCorsProxy undefined | false | true    

Defined in

Last Updated: 08 January, 2020