/// <summary> /// Add HTTP Headers to API Module /// </summary> /// <param name="apiModule">API Module</param> /// <param name="headers">Dictionary of headers to be added</param> public static void AddHeaders(this ApiModule apiModule, Dictionary <string, string> headers) { foreach (KeyValuePair <string, string> header in headers) { apiModule.APIAddMessageHeader(header.Key, header.Value); } }