setCustomHeaders

It collects headers that will be sent to the server. This is static headers that are stored and attach for all requests until @resetCustomHeaders method will be called.

Parameters

headers

The headers to save for request.