Wormholy icon indicating copy to clipboard operation
Wormholy copied to clipboard

WormHoly Cannot get NSMutableURLRequest request.

Open TimberTang opened this issue 5 years ago • 4 comments

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)
        }
    }

TimberTang avatar Apr 04 '19 03:04 TimberTang

In swift 4 it is no problem ! but, i am upgreate to swift 5, from #51 glade to have a answer!

TimberTang avatar Apr 04 '19 03:04 TimberTang

Hi there. Are you using the fork of @iiiCeBlink or the last version of Wormholy?

pmusolino avatar Apr 04 '19 09:04 pmusolino

Hi there. Are you using the fork of @iiiCeBlink or the last version of Wormholy?

yeah, i am using the lastly version~

TimberTang avatar Apr 12 '19 09:04 TimberTang

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?

pmusolino avatar Nov 01 '21 19:11 pmusolino