Experimental Class
Class Overview
class CookieXSRFStrategy {
constructor(_cookieName?: string, _headerName?: string)
configureRequest(req: Request)
}
Class Description
XSRFConfiguration sets up Cross Site Request Forgery (XSRF) protection for the application using a cookie. See Cross-Site_RequestForgery(CSRF) for more information on XSRF.
Applications can configure custom cookie and header names by binding an instance of this class with different cookieName and headerName values. See the main HTTP documentation for more details.
Constructor
constructor(_cookieName?: string, _headerName?: string)
Class Details
configureRequest(req: Request)
exported from @angular/http/index, defined in @angular/http/src/backends/xhr_backend.ts
Please login to continue.