XSRFStrategy

Experimental Class Class Overview class XSRFStrategy { configureRequest(req: Request) : void } Class Description An XSRFStrategy configures XSRF protection (e.g. via headers) on an HTTP request. Class Details configureRequest(req: Request) : void exported from @angular/http/index, defined in @angular/http/src/interfaces.ts

XHRConnection

Experimental Class Class Overview class XHRConnection { constructor(req: Request, browserXHR: BrowserXhr, baseResponseOptions?: ResponseOptions) request : Request response : Observable<Response> readyState : ReadyState setDetectedContentType(req: any, _xhr: any) } Class Description Creates connections using XMLHttpRequest. Given a fully-qualified request, an XHRConnection will immediately create an XMLHttpRequest object and send the request. This class would typically

XHRBackend

Experimental Class Class Overview class XHRBackend { constructor(_browserXHR: BrowserXhr, _baseResponseOptions: ResponseOptions, _xsrfStrategy: XSRFStrategy) createConnection(request: Request) : XHRConnection } Class Description Creates XHRConnection instances. This class would typically not be used by end users, but could be overridden if a different backend implementation should be used, such as in a node backend. Example import {Http, MyNodeBackend, HTTP_PROVIDERS, BaseRequest

wtfStartTimeRange

Experimental Const Variable Export export wtfStartTimeRange Used to mark Async start. Async are similar to scope but they don't have to be strictly nested. The return value is used in the call to [endAsync]. Async ranges only work if WTF has been enabled. someMethod() { var s = wtfStartTimeRange('HTTP:GET', 'some.url'); var future = new Future.delay(5).then((_) { wtfEndTimeRange(s); }); } exported from @angular/core/index defined in @angular/core/src/profile/profile.ts

WtfScopeFn

Experimental Interface Interface Overview interface WtfScopeFn { } Interface Description A scope function for the Web Tracing Framework (WTF). exported from @angular/core/index, defined in @angular/core/src/profile/wtf_impl.ts

wtfLeave

Experimental Const Variable Export export wtfLeave Used to mark end of Scope. scope to end. returnValue (optional) to be passed to the WTF. Returns the `returnValue for easy chaining. exported from @angular/core/index defined in @angular/core/src/profile/profile.ts

wtfEndTimeRange

Experimental Const Variable Export export wtfEndTimeRange Ends a async time range operation. [range] is the return value from [wtfStartTimeRange] Async ranges only work if WTF has been enabled. exported from @angular/core/index defined in @angular/core/src/profile/profile.ts

wtfCreateScope

Experimental Const Variable Export export wtfCreateScope Create trace scope. Scopes must be strictly nested and are analogous to stack frames, but do not have to follow the stack frames. Instead it is recommended that they follow logical nesting. You may want to use Event Signatures as they are defined in WTF. Used to mark scope entry. The return value is used to leave the scope. var myScope = wtfCreateScope('MyClass#myMethod(ascii someVal)'); someMethod() { var s = myScope('Foo'); // 'F

WrappedValue

Stable Class Class Overview class WrappedValue { staticwrap(value: any) : WrappedValue constructor(wrapped: any) wrapped : any } Class Description Indicates that the result of a Pipe transformation has changed even though the reference has not changed. The wrapped value will be unwrapped by change detection, and the unwrapped value will be stored. Example: if (this._latestValue === this._latestReturnedValue) { return this._latestReturnedValue; } else { this._latestReturn

WORKER_UI_LOCATION_PROVIDERS

Experimental Const Variable Export export WORKER_UI_LOCATION_PROVIDERS A list of Providers. To use the router in a Worker enabled application you must include these providers when setting up the render thread. exported from @angular/platform-webworker/index defined in @angular/platform-webworker/src/web_workers/ui/location_providers.ts