Class: HttpResponseProxy¶
A designer-facing interface that encapsulates HTTP response information
Hierarchy¶
- HttpResponseProxy
Implements¶
Summary¶
Constructors¶
Properties¶
Class Properties¶
Inherited Properties¶
Currently none inherited from the parent class(es).
Constructors¶
constructor¶
+ new HttpResponseProxy(headers
: Object, mimeType
: string, statusCode
: number, content
: IHttpResponseContent): HttpResponseProxy
Parameters:
Name | Type |
---|---|
headers |
Object |
mimeType |
string |
statusCode |
number |
content |
IHttpResponseContent |
Returns: HttpResponseProxy
Properties¶
content¶
• content: IHttpResponseContent
Implementation of IHttpResponse.content
Gets the response content
headers¶
• headers: Object
Implementation of IHttpResponse.headers
Gets the response headers with key/value pair
mimeType¶
• mimeType: string
Implementation of IHttpResponse.mimeType
Gets the mime type
statusCode¶
• statusCode: number
Implementation of IHttpResponse.statusCode
Gets the HTTP status code