We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't see any websocket traffic in Charles Proxy for some reason. I see http traffic though. And yes, the app successfully connects via websocket
The text was updated successfully, but these errors were encountered:
Solved by pasting this code:
NSMutableDictionary *socksConfig = [(__bridge_transfer NSDictionary*)CFNetworkCopySystemProxySettings() mutableCopy]; id ip = socksConfig[@"HTTPSProxy"]; NSDictionary *proxySocksConfig = @{@"SOCKSProxy" : (ip ?: @"127.0.0.1"), @"SOCKSPort" : @(8889), @"SOCKSEnable" : @(YES)}; CFWriteStreamSetProperty(writeStream, kCFStreamPropertySOCKSProxy, (__bridge CFDictionaryRef)proxySocksConfig); CFReadStreamSetProperty(readStream, kCFStreamPropertySOCKSProxy, (__bridge CFDictionaryRef)proxySocksConfig);
in SRWebsocket.m after line 586
Sorry, something went wrong.
Thank you for sharing @cleverClosure :) I will add this example on the README for Charles Proxy.
WrathChaos
No branches or pull requests
I can't see any websocket traffic in Charles Proxy for some reason. I see http traffic though. And yes, the app successfully connects via websocket
The text was updated successfully, but these errors were encountered: