UNPKG

x-http-client

Version:

An http client to simplify sending requests (HTTP & JSONP) in the browser.

14 lines (12 loc) 218 B
/** * Represents a response. * * @param {Request} request The instance of `Request`. */ function Response(request) { /** * @type {Request} */ this.request = request; } module.exports = Response;