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
I am developing a project where each time the connection is closed, I generate a new token and add the header to the client using the "addHeader" API. The problem is that this API is not suitable for modifying headers; this method performs a "_customHeaders.push_back". If a specific header needs to be changed, there is no API to do that. Moreover, this "push_back" might start accumulating memory if called multiple times. I believe it would be good to have a new "setHeader" method that adds and/or modifies a header in "_customHeaders".
The text was updated successfully, but these errors were encountered:
I am developing a project where each time the connection is closed, I generate a new token and add the header to the client using the "addHeader" API. The problem is that this API is not suitable for modifying headers; this method performs a "_customHeaders.push_back". If a specific header needs to be changed, there is no API to do that. Moreover, this "push_back" might start accumulating memory if called multiple times. I believe it would be good to have a new "setHeader" method that adds and/or modifies a header in "_customHeaders".
The text was updated successfully, but these errors were encountered: