ResponseLike Class

Implements

Methods

Name Description
constructor(data: any): ResponseLike    
arrayBuffer(): Promise<ArrayBuffer>    
blob(): Promise<Blob>    
clone(): { T } & this    
formData(): Promise<FormData>    
json(): Promise<any>    
text(): Promise<string>    

Properties

Name Type Description
body Accessor ReadOnly null    
bodyUsed Accessor ReadOnly boolean    
headers Accessor ReadOnly Headers    
ok Accessor ReadOnly boolean    
redirected Accessor ReadOnly boolean    
status Accessor ReadOnly number    
statusText Accessor ReadOnly string    
trailer Accessor ReadOnly Promise<Headers>    
type Accessor ReadOnly ResponseType    
url Accessor ReadOnly string    

Defined in

Last Updated: 13 June, 2024