RequestOptions Interface

Beta  

Methods

Name Description
errorCallback(response: any): ResponseError Optional    
retryCallback(error: any, response: any): boolean Optional    

Properties

Name Type Description
accept undefined | string    
agent undefined | Agent    
auth undefined | RequestBasicCredentials    
body undefined | any    
buffer undefined | any    
headers undefined | any    
method string    
parser undefined | any    
progressCallback undefined | ProgressCallback    
qs undefined | any    
readStream undefined | any    
redirects undefined | number    
responseType undefined | string    
retries undefined | number    
stream undefined | any    
timeout undefined | RequestTimeoutOptions    
useCorsProxy undefined | boolean    

Defined in

Last Updated: 12 June, 2024