You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, this is not an issue, but a query on how to use the SDK.
I have seen that in other language implementations, once can pass identifiers from client, maybe like serialid or mac or anything like that with the request, and some logic can be added in the server side based on this identifier (to group some into a group or other purposes)
How can we pass such identifiers in the CPP SDK? and how can we detect them from a node js server?
The text was updated successfully, but these errors were encountered:
You can do it using a map and passing that to io.connect().
std::map<std::string, std::string> headers;
// Socket io forces all these header keys lowercase, // so we write them lowercase to avoid confusion
headers["authorization"] = jwt;
io.connect(remoteHost, {}, headers);
Hi, this is not an issue, but a query on how to use the SDK.
I have seen that in other language implementations, once can pass identifiers from client, maybe like serialid or mac or anything like that with the request, and some logic can be added in the server side based on this identifier (to group some into a group or other purposes)
How can we pass such identifiers in the CPP SDK? and how can we detect them from a node js server?
The text was updated successfully, but these errors were encountered: