Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (18 sloc) 716 Bytes
// SRTWebSocketOperation.h
// SocketRocket
// Created by Mike Lewis on 1/28/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
#import <Foundation/Foundation.h>
#import "SRWebSocket.h"
@interface SRTWebSocketOperation : NSOperation <SRWebSocketDelegate>
- (id)initWithURL:(NSURL *)URL;
@property (nonatomic) BOOL isFinished;
@property (nonatomic) BOOL isExecuting;
@property (nonatomic, readonly, retain) NSError *error;
// We override these methods. Please call super
- (void)webSocket:(SRWebSocket *)webSocket didCloseWithCode:(NSInteger)code reason:(NSString *)reason wasClean:(BOOL)wasClean;
- (void)webSocket:(SRWebSocket *)webSocket didFailWithError:(NSError *)error;
Jump to Line
Something went wrong with that request. Please try again.