Wormholy
Wormholy copied to clipboard
WormHoly Cannot get NSMutableURLRequest request.
that's my code
NSMutableURLRequest *request = [requestSerializer requestWithMethod:[obj methodString] URLString:[NSString stringWithFormat:@"%@%@", [obj apiUrl]] parameters:params error:nil];
NSURLSessionDataTask *dataTask = [self.manager dataTaskWithRequest:request uploadProgress:^(NSProgress * _Nonnull uploadProgress) {
} downloadProgress:^(NSProgress * _Nonnull downloadProgress) {
} completionHandler:^(NSURLResponse * _Nonnull response, id _Nullable responseObject,
breakpoint not run here in wormholy
override init(request: URLRequest, cachedResponse: CachedURLResponse?, client: URLProtocolClient?) {
super.init(request: request, cachedResponse: cachedResponse, client: client)
if session == nil {
session = URLSession(configuration: .default, delegate: self, delegateQueue: nil)
}
}
In swift 4 it is no problem ! but, i am upgreate to swift 5, from #51 glade to have a answer!
Hi there. Are you using the fork of @iiiCeBlink or the last version of Wormholy?
Hi there. Are you using the fork of @iiiCeBlink or the last version of Wormholy?
yeah, i am using the lastly version~
I released a new (big) version of Wormholy (1.6.5) with some improvements and fixes. https://github.com/pmusolino/Wormholy/releases/tag/1.6.5 Can you test it and let me know if you are still encountering this issue?