We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb70811 commit 6cafb71Copy full SHA for 6cafb71
1 file changed
src/main/java/org/java_websocket/client/WebSocketClient.java
@@ -100,6 +100,14 @@ public Draft getDraft() {
100
return draft;
101
}
102
103
+ /**
104
+ * Returns the socket to allow Hostname Verification
105
+ * @return the socket used for this connection
106
+ */
107
+ public Socket getSocket() {
108
+ return socket;
109
+ }
110
+
111
/**
112
* Initiates the websocket connection. This method does not block.
113
*/
0 commit comments