Skip to content
Newer
Older
100644 105 lines (69 sloc) 1.75 KB
7ab06a1 @miksago Initial Commit, so far the initialization of connections is working: …
miksago authored
1 GET /chat.ws HTTP/1.1
2 Upgrade: WebSocket
3 Connection: Upgrade
4
5
186053f @miksago More cleanup on development server, added extra handshake test packets
miksago authored
6 GET /secure HTTP/1.1
7 Host: example.bank.com
8 Upgrade: TLS/1.0
9 Connection: Upgrade
10
11
f2f4596 @miksago Intermidary staging of work in progess. Before branching.
miksago authored
12 GET /app/cc4ce1421747bb6b1f44?channel=test_channel HTTP/1.1\r\nUpgrade: WebSocket\r\nConnection: Upgrade\r\n\r\n
13
14 GET /app/cc4ce1421747bb6b1f44?channel=test_channel HTTP/1.1
15 Upgrade: WebSocket
16 Connection: Upgrade
17 Host: ws.pusherapp.com
18 Origin: http://ws.pusherapp.com
19
7ab06a1 @miksago Initial Commit, so far the initialization of connections is working: …
miksago authored
20
21 GET /demo HTTP/1.1
22 Host: example.com
23 Connection: Upgrade
24 Sec-WebSocket-Key2: 12998 5 Y3 1 .P00
25 Sec-WebSocket-Protocol: sample
26 Upgrade: WebSocket
27 Sec-WebSocket-Key1: 4 @1 46546xW%0l 1 5
28 Origin: http://example.com
29
30 ^n:ds[4U
31
f2f4596 @miksago Intermidary staging of work in progess. Before branching.
miksago authored
32
939a776 @miksago Implemented the usage of HTTP Parser, although, it doesn't work. Chan…
miksago authored
33 GET /test HTTP/1.1
34 Upgrade: WebSocket
35 Connection: Upgrade
36 Host: 192.168.46.19:7000
37 Origin: http://localhost:3000
38 Content-Length: 4
39
40 test
41
42
43
186053f @miksago More cleanup on development server, added extra handshake test packets
miksago authored
44 GET / HTTP/1.1
45 Connection: Upgrade
46 Upgrade: WebSocket
47 Sec-WebSocket-Key1: 3e6b263 4 17 80
6b92c52 @miksago Fixed connection close handling
miksago authored
48 Origin: http://localhost:8000
49 Host: http://localhost:8000
186053f @miksago More cleanup on development server, added extra handshake test packets
miksago authored
50 Sec-WebSocket-Key2: 17 9 G`ZD9 2 2b 7X 3 /r90
51
52 WjN}|M(6
53
54
55
939a776 @miksago Implemented the usage of HTTP Parser, although, it doesn't work. Chan…
miksago authored
56
57
6b92c52 @miksago Fixed connection close handling
miksago authored
58
f2f4596 @miksago Intermidary staging of work in progess. Before branching.
miksago authored
59 GET / HTTP/1.1
60 Connection: Upgrade
61 Host: example.com
62 Upgrade: WebSocket
63 Sec-WebSocket-Key1: 3e6b263 4 17 80
64 Origin: http://example.com
65 Sec-WebSocket-Key2: 17 9 G`ZD9 2 2b 7X 3 /r90
66
67 WjN}|M(6
68
69
70
71 String.fromCharCode(829309203>>>16, 829309203 & 0xFF, 259970620>>>16, 259970620&0xFF) + ^n:ds[4U
6096ede @miksago Start on using http.Server instead of net.Server
miksago authored
72
73
74 GET / HTTP/1.1
75 Host: example.com
def1ea6 @miksago Moving closer towards a working WebSocket Server, requires node#HEAD …
miksago authored
76 Upgrade: WebSocket
6096ede @miksago Start on using http.Server instead of net.Server
miksago authored
77 Sec-WebSocket-Key1: 3e6b263 4 17 80
78 Origin: http://example.com
79 Sec-WebSocket-Key2: 17 9 G`ZD9 2 2b 7X 3 /r90
80
81 WjN}|M(6
82
def1ea6 @miksago Moving closer towards a working WebSocket Server, requires node#HEAD …
miksago authored
83
84 GET / HTTP/1.1
85 Host: example.com
86 Origin: http://example.com
87
88 POST / HTTP/1.1
89 Host: example.com
90 Origin: http://example.com
91
92 POST / HTTP/1.1
93 Upgrade: WebSocket
94 Connection: Upgrade
95 Host: example.com
96 Origin: http://example.com
97
0354f08 @miksago Fixing a few issues, starting to work on draft76 upgrade. note to sel…
miksago authored
98 GET / HTTP/1.1
99 Upgrade: WebSocket
100 Connection: Upgrade
101 Host: example.com
102 Origin: http://example.com
def1ea6 @miksago Moving closer towards a working WebSocket Server, requires node#HEAD …
miksago authored
103
104
Something went wrong with that request. Please try again.