Skip to content

Commit

Permalink
Merge pull request #399 from facebook/nlutsenko.lint
Browse files Browse the repository at this point in the history
Cleanup, disable logging and make tests support scripts executable.
  • Loading branch information
nlutsenko committed Jun 7, 2016
2 parents 383c787 + 77a4b66 commit b0aabde
Show file tree
Hide file tree
Showing 8 changed files with 381 additions and 378 deletions.
14 changes: 11 additions & 3 deletions SocketRocket/Internal/Proxy/SRProxyConnect.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,18 @@

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^SRProxyConnectCompletion)(NSError *_Nullable error,
NSInputStream *_Nullable readStream,
NSOutputStream *_Nullable writeStream);

@interface SRProxyConnect : NSObject

-(instancetype)initWithURL:(NSURL *)url;
- (instancetype)initWithURL:(NSURL *)url;

- (void)openNetworkStreamWithCompletion:(SRProxyConnectCompletion)completion;

-(void) openNetworkStreamWithCompletion:(void (^)(NSError *error, NSInputStream *readStream, NSOutputStream *writeStream ))completion;
@end

@end
NS_ASSUME_NONNULL_END
Loading

0 comments on commit b0aabde

Please sign in to comment.