forked from francoisTemasys/socket.IO-objc
-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathSocketIOTransportXHR.h
More file actions
36 lines (31 loc) · 804 Bytes
/
SocketIOTransportXHR.h
File metadata and controls
36 lines (31 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//
// SocketIOTransportXHR.h
// v0.5.1
//
// based on
// socketio-cocoa https://github.com/fpotter/socketio-cocoa
// by Fred Potter <[email protected]>
//
// using
// https://github.com/square/SocketRocket
//
// reusing some parts of
// /socket.io/socket.io.js
//
// Created by Philipp Kyeck http://beta-interactive.de
//
// With help from
// https://github.com/pkyeck/socket.IO-objc/blob/master/CONTRIBUTORS.md
//
#import <Foundation/Foundation.h>
#import "SocketIOTransport.h"
@interface SocketIOTransportXHR : NSObject <SocketIOTransport, NSURLConnectionDelegate>
{
NSString *_url;
NSMutableData *_data;
NSMutableDictionary *_polls;
BOOL _isClosed;
}
@property (nonatomic, weak) id <SocketIOTransportDelegate> delegate;
@property (nonatomic) BOOL isClosed;
@end