enableXCSRF: method

Enable XCSRF support.

Syntax

+ ( void ) enableXCSRF : ( BOOL ) enable

Example 1

// enable xcsrf before instantiating the request
[SDMRequestBuilder enableXCSRF:YES];
// instantiate the request
self.request = [SDMRequestBuilder requestWithURL:demoUrl];
...

Usage

It is disabled by default.