W3cubDocs

/Angular 2 TypeScript

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

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/http/index/XSRFStrategy-class.html