Description

NewClientTLSFromFile constructs a TLS from the input certificate file for client. serverNameOverwrite is for testing only. If set to a non empty string, it will overwrite the virtual host name of authority (e.g. :authority header field) in requests.