We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c57118c commit 8ee1fb8Copy full SHA for 8ee1fb8
Leanplum-SDK/Classes/Utilities/Vendor/WebSocket/Leanplum_WebSocket.m
@@ -52,9 +52,6 @@ -(id)initWithURLString:(NSString *)urlString delegate:(id<Leanplum_WebSocketDele
52
if (self) {
53
self.delegate = aDelegate;
54
url = [NSURL URLWithString:urlString];
55
- if (![url.scheme isEqualToString:@"ws"]) {
56
- [NSException raise:Leanplum_WebSocketException format:@"Unsupported protocol %@", url];
57
- }
58
socket = [[Leanplum_AsyncSocket alloc] initWithDelegate:self];
59
self.runLoopModes = @[NSRunLoopCommonModes];
60
}
0 commit comments