enableTracing: method

Switches traceability status, the default is NO.

Syntax

+ ( void ) enableTracing : ( BOOL ) value_in

Example 1

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

Usage

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