When connecting to a Gateway using the tungstenite backend, match, whether the supplied URL is of type "ws" or "wss" and choose the appropriate "connect" function in tungstenite. There is no need to construct a RootCertStore with loaded root trust certificates from disk, if we completely ignore this RootCertStore anyways.
When connecting to a Gateway using the tungstenite backend, match, whether the supplied URL is of type "ws" or "wss" and choose the appropriate "connect" function in tungstenite. There is no need to construct a
RootCertStore
with loaded root trust certificates from disk, if we completely ignore thisRootCertStore
anyways.