We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fffadc commit ac3c39cCopy full SHA for ac3c39c
README.markdown
@@ -38,6 +38,7 @@ In order to create a client in TLS mode, do the following to initialize the clie
38
// Create the client in TLS mode
39
connectionFactoryBuilder.setSSLContext(sslContext);
40
// TLS mode enables hostname verification by default. It is always recommended to do that.
41
+ connectionFactoryBuilder.setHostnameForTlsVerification("my_website.com");
42
// To disable hostname verification, do the following:
43
// connectionFactoryBuilder.setSkipTlsHostnameVerification(true);
44
MemcachedClient client = new MemcachedClient(connectionFactoryBuilder.build(), AddrUtil.getAddresses("my_website.com:11211"));
0 commit comments