angular / 4.4.6 / api / http / xsrfstrategy.html /

XSRFStrategy

class

npm Package @angular/http
Module import { XSRFStrategy } from '@angular/http';
Source http/src/interfaces.ts

Overview

class XSRFStrategy {
  configureRequest(req: Request): void
}

Description

An XSRFStrategy configures XSRF protection (e.g. via headers) on an HTTP request.

Subclasses

  • CookieXSRFStrategy

Members

configureRequest(req: Request): void

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v4.angular.io/api/http/XSRFStrategy