We are using our RocketChat server (community edition) in our local network, so we connect to it without TLS verification.
Please add an option to skip TLS verification for a client, I mean such a code:
http.DefaultTransport.(*http.Transport).TLSClientConfig = &tls.Config{InsecureSkipVerify: true}
or:
tr := &http.Transport {
TLSClientConfig: &tls.Config{
InsecureSkipVerify: true, // Disable TLS verification
},
}
client := &http.Client{Transport: tr}
So that one may use it like this (or somehow like this):
client := gorocket.NewWithOptions(server,
gorocket.WithTLSVerification(false),
)
Thanks in advance!
Regards,
Mike.
We are using our RocketChat server (community edition) in our local network, so we connect to it without TLS verification.
Please add an option to skip TLS verification for a client, I mean such a code:
or:
So that one may use it like this (or somehow like this):
Thanks in advance!
Regards,
Mike.