* changed WebSocketClient input parameter to accept "ws" protocol
instead of "http"
Change-Id: I2e1673707ca5231552195049024ebcb5e4964908
Signed-off-by: Jan Hajnar <jhajnar@cisco.com>
private void initialize() {
String protocol = uri.getScheme();
private void initialize() {
String protocol = uri.getScheme();
- if (!"http".equals(protocol)) {
+ if (!"ws".equals(protocol)) {
throw new IllegalArgumentException("Unsupported protocol: " + protocol);
}
throw new IllegalArgumentException("Unsupported protocol: " + protocol);
}