@angular/http
Version:
Angular - the http service
61 lines • 1.5 kB
JavaScript
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* Abstract class from which real backends are derived.
* *
* The primary purpose of a `ConnectionBackend` is to create new connections to fulfill a given
* {@link Request}.
* *
* @abstract
*/
export var ConnectionBackend = (function () {
function ConnectionBackend() {
}
/**
* @abstract
* @param {?} request
* @return {?}
*/
ConnectionBackend.prototype.createConnection = function (request) { };
return ConnectionBackend;
}());
/**
* Abstract class from which real connections are derived.
* *
* @abstract
*/
export var Connection = (function () {
function Connection() {
}
return Connection;
}());
function Connection_tsickle_Closure_declarations() {
/** @type {?} */
Connection.prototype.readyState;
/** @type {?} */
Connection.prototype.request;
/** @type {?} */
Connection.prototype.response;
}
/**
* An XSRFStrategy configures XSRF protection (e.g. via headers) on an HTTP request.
* *
* @abstract
*/
export var XSRFStrategy = (function () {
function XSRFStrategy() {
}
/**
* @abstract
* @param {?} req
* @return {?}
*/
XSRFStrategy.prototype.configureRequest = function (req) { };
return XSRFStrategy;
}());
//# sourceMappingURL=interfaces.js.map