Document the client config.
This commit is contained in:
parent
2426f2d6d1
commit
359c6a324b
|
|
@ -13,8 +13,14 @@ type client struct {
|
|||
stream *Stream
|
||||
}
|
||||
|
||||
// Config structure used to create a new XMPP client connection.
|
||||
type ClientConfig struct {
|
||||
// Don't upgrade the connection to TLS, even if the server supports it. If
|
||||
// the server *requires* TLS then this option is ignored.
|
||||
NoTLS bool
|
||||
|
||||
// Skip verification of the server's certificate chain. Probably only
|
||||
// useful during development.
|
||||
InsecureSkipVerify bool
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue