XSRFStrategy

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

弃用说明

see https://angular.io/guide/http

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

方法

abstract configureRequest(req: Request): void

参数

req

Type: Request.

返回值

void