* changed WebSocketClient input parameter to accept "ws" protocol
instead of "http"
Change-Id: I2e1673707ca5231552195049024ebcb5e4964908
Signed-off-by: Jan Hajnar <jhajnar@cisco.com>
(cherry picked from commit
c0b35fcde6bd4dfda88eb8ee507bf20c77644aa3)
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);
}