enableTracing: method

Switches traceability status, the default is NO.

Syntax

+ ( void ) enableTracing : ( BOOL ) value_in

Example 1

// set the request type
[SDMRequestBuilder setRequestType:HTTPRequestType];
// enable tracing before instantiating the request
[SDMRequestBuilder enableTracing:YES];
// instantiate the request
self.request = [SDMRequestBuilder requestWithURL:demoUrl];
...

Usage

If tracing is enabled, "SAP-PASSPORT" and "X-CorrelationID" headers are set and filled with values to enable SAP Passport functionality.