1
0
Fork 0

Document the client config.

This commit is contained in:
Matt Goodall 2012-07-06 11:07:42 +01:00
parent 2426f2d6d1
commit 359c6a324b
1 changed files with 6 additions and 0 deletions

View File

@ -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
}