in src/main/java/com/microsoft/azure/proton/transport/ws/impl/WebSocketImpl.java [100:122]
public void configure(
String host,
String path,
String query,
int port,
String protocol,
Map<String, String> additionalHeaders,
WebSocketHandler webSocketHandler) {
this.host = host;
this.path = path;
this.query = query;
this.port = port;
this.protocol = protocol;
this.additionalHeaders = additionalHeaders;
if (webSocketHandler != null) {
this.webSocketHandler = webSocketHandler;
} else {
this.webSocketHandler = new WebSocketHandlerImpl();
}
isWebSocketEnabled = true;
}