Add custom header value to SDK request

I’m using a TROSynapseSuperHTTPChannel and want to add a custom parameter to the headers of the HTTP request. How can this be done?

I tried this:
(synapseChannel as IROHttpTransport).Headers[‘REMOTE_PIN’] := ‘4444’;

but the header value does not show in the request.


try to use Indy-based version (TROIndySuperHTTPChannel).
in TROSynapseSuperHTTPChannel we clear http headers before sending request