Methods
tryEnd
tryEnd( fullBodyOrChunk: string , totalSize: number ) : [ boolean , boolean ]
Parameters
fullBodyOrChunk: string
totalSize: number
Returns [ boolean , boolean ]
writeHeader
writeHeader( key: string , value: string ) : void
Parameters
key: string
value: string
Returns void
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
An HttpResponse is valid until either onAborted callback or any of the .end/.tryEnd calls succeed. You may attach user data to this object.