This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
Typertext/lib/Typertext/Http/HttpResponse.ts

26 lines
932 B
TypeScript

/**
* @namespace Typertext
* @module Http
*/
module Typertext.Http {
export class HttpResponse extends Typertext.GenericResponse<string> {
/**
* A class for passing the response around as a raw string
*
* @class HttpResponse
* @extends GenericResponse
*
* @param {HttpResponseStatus} status
* @param {Function} responseHeaderGetter
* @param {number} httpResponseCode
* @param {string} responseBody
*
* @author Kegan Myers <kegan@keganmyers.com>
* @version 0.3.0
* @constructor
*/
constructor(status:HttpResponseStatus, responseHeaderGetter?:(input:string)=>string, httpResponseCode?:number, responseBody?:string) {
super(status, responseHeaderGetter, httpResponseCode, responseBody);
}
}
}