(cobra connection and bots) set an HTTP header when connecting to help with debugging bots
This commit is contained in:
@@ -31,6 +31,8 @@ namespace ix
|
||||
auto limitReceivedEvents = botConfig.limitReceivedEvents;
|
||||
auto batchSize = botConfig.batchSize;
|
||||
|
||||
config.headers["X-Cobra-Channel"] = channel;
|
||||
|
||||
ix::CobraConnection conn;
|
||||
conn.configure(config);
|
||||
conn.connect();
|
||||
|
Reference in New Issue
Block a user