-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels