Skip to content

Commit 8ee1fb8

Browse files
authored
Removing exception when wss is used (#329)
1 parent c57118c commit 8ee1fb8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Leanplum-SDK/Classes/Utilities/Vendor/WebSocket/Leanplum_WebSocket.m

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ -(id)initWithURLString:(NSString *)urlString delegate:(id<Leanplum_WebSocketDele
5252
if (self) {
5353
self.delegate = aDelegate;
5454
url = [NSURL URLWithString:urlString];
55-
if (![url.scheme isEqualToString:@"ws"]) {
56-
[NSException raise:Leanplum_WebSocketException format:@"Unsupported protocol %@", url];
57-
}
5855
socket = [[Leanplum_AsyncSocket alloc] initWithDelegate:self];
5956
self.runLoopModes = @[NSRunLoopCommonModes];
6057
}

0 commit comments

Comments
 (0)