Commit Graph

946 Commits

Author SHA1 Message Date
sta
f902958aad [Modify] Polish it 2015-09-21 15:11:31 +09:00
sta
de63dc1529 [Modify] Polish it 2015-09-20 16:39:19 +09:00
sta
48b55173fa [Modify] Polish it 2015-09-19 15:35:15 +09:00
sta
6d3960ed7d [Modify] Add ReadAsync2 method
Merge a part of pull request #153 from fd5fc9a5fc.
2015-09-18 21:06:17 +09:00
sta
6833c2b014 [Modify] Polish it 2015-09-17 14:08:40 +09:00
sta
6e6bab85af [Modify] Polish it 2015-09-16 14:39:58 +09:00
sta
2937598db9 [Modify] Polish it 2015-09-16 11:10:10 +09:00
sta
58734d7ba6 [Modify] Remove older 2015-09-15 15:43:53 +09:00
sta
bee39e08a9 [Modify] Polish it 2015-09-15 15:27:03 +09:00
sta
a749a67838 [Modify] Polish it 2015-09-14 12:07:37 +09:00
sta
2b984221fd [Modify] Polish it 2015-09-13 14:27:13 +09:00
sta
69c99b8765 [Modify] Polish it 2015-09-12 14:35:45 +09:00
sta
f518dd717c [Modify] Polish it 2015-09-11 15:38:50 +09:00
sta
4d5add5e8d [Modify] Add ReadBytesAsync2 method
Add ReadBytesAsync2 (Stream, long, int, Action<byte[]>, Action<Exception>) method to support pull request #153
2015-09-10 14:20:04 +09:00
sta
577ea14ffd [Modify] Add ReadBytesAsync2 method
Merge a part of pull request #153 from fd5fc9a5fc.
2015-09-09 11:22:29 +09:00
sta
c6243a14d9 [Modify] Add null check 2015-09-08 11:03:40 +09:00
sta
10af5c7320 [Modify] Add null check 2015-09-08 10:52:57 +09:00
sta
ceb831b18f [Modify] Add readBytesAsync method
Merge a part of pull request #153 from fd5fc9a5fc.
2015-09-07 21:51:49 +09:00
sta
75412101d8 [Modify] Output a state in lowercase 2015-09-06 15:52:32 +09:00
sta
b1e77df0b6 Refactored a few for WebSocket.cs 2015-09-05 14:41:56 +09:00
sta
de8f4caffa Removed the checkIfAvailable (bool, bool) method 2015-09-04 11:35:50 +09:00
sta
c87acb5029 Refactored a bit for EndPointListener.cs 2015-09-03 11:43:55 +09:00
sta
d07e9cb5e9 Removed the checkIfCanAccept method 2015-09-02 17:30:01 +09:00
sta
1d403af6bf Removed the checkIfCanConnect method 2015-09-01 17:04:43 +09:00
sta
3ba410bc2e Added checkIfAvailable (bool, bool, bool, bool, bool, bool) method 2015-08-31 17:10:35 +09:00
sta
72302fba97 Refactored a bit for WebSocket.cs 2015-08-30 17:53:12 +09:00
sta
653064223b Refactored a few for EndPointManager.cs 2015-08-29 16:37:52 +09:00
sta
efb922a67a Refactored a bit for EndPointListener.cs 2015-08-28 16:52:35 +09:00
sta
bdbdf64d3d Fix for pull request #155, merged ddab2067da 2015-08-27 15:58:28 +09:00
sta
2c65fd2714 Fix for pull request #155, merged 503ada402b 2015-08-26 15:57:25 +09:00
sta
3c060c545a Fix for pull request #155, merged 710b1e89b0 2015-08-25 14:29:03 +09:00
sta
0cddc67001 Initialize the continuation flag when closing 2015-08-25 10:04:11 +09:00
sta
9ff19e6ecd Added the internal WebSocket.EmptyBytes field 2015-08-24 16:03:50 +09:00
sta
cd886d32df Added the Ext.UTF8Encode method 2015-08-23 16:31:18 +09:00
sta
f8f68e49b0 Added the Ext.UTF8Decode method 2015-08-22 11:50:19 +09:00
sta
ddb5819a0e Added the WebSocket.CheckSendParameters method 2015-08-21 16:31:50 +09:00
sta
09a64d67be Added the WebSocket.CheckSendParameter methods 2015-08-20 16:36:14 +09:00
sta
f852a19746 Refactored WebSocketServiceHost.cs, separated the WebSocketServiceHost<TBehavior> class into a new file 2015-08-19 15:47:57 +09:00
sta
18b980fc98 Modified a bit for WebSocketServiceHost.cs, into the year 2015 2015-08-18 13:15:58 +09:00
sta
170977586a Refactored a few for WebSocketServiceHost.cs 2015-08-18 13:05:22 +09:00
sta
009ca2d701 Refactored a few for WebSocket.cs 2015-08-18 12:36:53 +09:00
sta
d949a64f26 Refactored a few for WebSocket.cs 2015-08-17 17:00:29 +09:00
sta
b0048a213a Refactored a few for WebSocket.cs 2015-08-16 17:26:22 +09:00
sta
18776d1a22 Added the internal Ext.CheckIfAvailable (WebSocketState, bool, bool, bool, bool) method 2015-08-15 16:28:46 +09:00
sta
999e777517 Added the internal Ext.CheckIfAvailable (ServerState, bool, bool, bool) method 2015-08-14 16:05:00 +09:00
sta
80a0107bab Added the internal Ext.CheckIfCanStop (ServerState) method 2015-08-13 11:41:38 +09:00
sta
46eae139e2 Added the internal Ext.CheckIfCanStart (ServerState) method 2015-08-12 17:24:53 +09:00
sta
7bd0fb87f2 Added the internal Ext.CheckIfCanSend (WebSocketState) method 2015-08-11 11:12:23 +09:00
sta
dce49c037f Added the internal Ext.CheckIfCanClose (WebSocketState) method 2015-08-10 15:53:09 +09:00
sta
f780f536e2 Refactored a few for WebSocket.cs 2015-08-09 11:27:42 +09:00
sta
5ceb4c4311 Modified a few for the WebSocket.Connect and ConnectAsync methods 2015-08-08 15:39:31 +09:00
sta
8efe37eb2f Added the public WebSocket.Accept and AcceptAsync methods 2015-08-07 17:27:04 +09:00
sta
745da21631 Added accept method 2015-08-06 17:15:02 +09:00
sta
776fee9170 Refactored a few for WebSocket.cs 2015-08-05 16:37:53 +09:00
sta
586a6202a2 Fix for pull request #146 2015-08-04 15:50:36 +09:00
sta
0eec6595a6 Refactored a few for WebSocketBehavior.cs 2015-07-28 15:07:41 +09:00
sta
f99112fc2f Fix for pull request #113 2015-07-27 16:11:16 +09:00
sta
58a4f02bda Fix for pull request #113 2015-07-26 17:25:08 +09:00
sta
2461b43145 Refactored a few for MessageEventArgs.cs 2015-07-25 16:32:06 +09:00
sta
196f5d92a1 Fix for issue #145 2015-07-24 14:04:21 +09:00
sta
0be4389d97 Replaced the processFragmentedFrame method with the processFragmentedFrame2 method, and renamed 2015-07-23 16:39:06 +09:00
sta
82077d321c Added processFragmentedFrame2 method, to replace the processFragmentedFrame method with this 2015-07-22 16:57:45 +09:00
sta
058d952970 Modified a bit for MessageEventArgs.cs, into the year 2015 2015-07-21 15:13:28 +09:00
sta
87ce74010e Fix for pull request #116 2015-07-20 16:23:40 +09:00
sta
8cd2248b2b Refactored a few for HttpServer.cs 2015-07-19 15:24:46 +09:00
sta
624b20afa8 Refactored a few for Ext.cs 2015-07-18 14:55:04 +09:00
sta
9360a6d99a Fix for pull request #115, added the HttpServer (string) constructor 2015-07-16 17:37:53 +09:00
sta
68b9fb0106 Refactored a few for EndPointListener.cs 2015-07-13 18:15:09 +09:00
sta
d2dc6ff959 Fix for pull request #115, added the Address property to the HttpServer class 2015-07-12 16:56:02 +09:00
sta
3c0fa929a1 Refactored a few for Ext.cs 2015-07-11 16:29:09 +09:00
sta
96b684036f Refactored a few for WebSocketServer.cs 2015-07-10 21:18:36 +09:00
sta
34de5b9ca4 Refactored a few for HttpServer.cs 2015-07-09 15:13:53 +09:00
sta
d4fc8da7a8 Fix for pull request #115, added the HttpServer (System.Net.IPAddress, int) constructor 2015-07-08 15:00:38 +09:00
sta
c10c9886ef Fix for pull request #115, added the HttpServer (System.Net.IPAddress, int, bool) constructor 2015-07-07 17:31:33 +09:00
sta
4bc2c4d4f0 Refactored a few for HttpListenerRequest.cs 2015-07-06 17:14:11 +09:00
sta
1998a535a4 Modified a bit for HttpRequest.cs, into the year 2015 2015-07-05 16:26:24 +09:00
sta
df9c8b1e74 Refactored a few for HttpRequest.cs 2015-07-05 16:20:22 +09:00
sta
a4cb03f8da Merge pull request #135 from davidburhans/master
Port 443 is also a default port and should be excluded from the Host header on WebSocket requests for compatibility reasons
2015-07-05 15:02:32 +09:00
sta
5728b47189 Refactored a few for HttpListenerRequest.cs 2015-07-04 22:37:23 +09:00
sta
987a02e594 Refactored a few for HttpListenerRequest.cs 2015-07-03 18:03:40 +09:00
sta
d3410a3ac4 Refactored a few for WebSocket.cs 2015-07-02 17:54:16 +09:00
sta
dbe7e0b17c Refactored a bit for WebSocket.cs 2015-07-01 01:35:13 +09:00
sta
2078bfad5a Fix for pull request #133, allow port 443 with non secure scheme, and allow port 80 with secure scheme 2015-06-30 15:43:00 +09:00
sta
cb8d1e75f6 Refactored a few for HttpServer.cs 2015-06-29 16:20:00 +09:00
sta
85dc704cc6 Refactored a few for Ext.cs 2015-06-28 16:59:39 +09:00
sta
72b7cafe4f Refactored a few for WebSocketServer.cs 2015-06-27 17:39:19 +09:00
sta
3764de92e7 Refactored a few for WebSocketServer.cs 2015-06-26 17:20:35 +09:00
sta
7559c5c8f2 Fix for pull request #115, refactored a few for HttpConnection.cs 2015-06-25 17:17:05 +09:00
sta
0516da098c Fix for pull request #115, added null check for IPAddress parameter in the WebSocketServer (System.Net.IPAddress, int, bool) constructor 2015-06-24 18:06:32 +09:00
sta
5e3814fa71 Refactored a few for HttpConnection.cs 2015-06-23 11:01:19 +09:00
sta
846f380157 Refactored a few for ResponseStream.cs 2015-06-22 14:40:23 +09:00
sta
8645185321 Refactored a few for HttpListenerResponse.cs 2015-06-22 14:20:09 +09:00
sta
9ad62f6a5f Refactored a few for HttpListenerResponse.cs 2015-06-21 16:46:58 +09:00
sta
0ecbca86e9 Refactored a few for HttpListenerResponse.cs 2015-06-20 16:59:16 +09:00
sta
78aa91c115 Refactored a few for HttpListenerResponse.cs 2015-06-19 17:26:59 +09:00
sta
d9d35a6527 Refactored a few for HttpListenerResponse.cs 2015-06-18 23:08:08 +09:00
sta
9c4482e770 Refactored a few for HttpListenerResponse.cs 2015-06-17 21:33:59 +09:00
sta
0c610dd41f Refactored HttpListenerResponse.cs 2015-06-16 21:37:55 +09:00
sta
dc9b2ae488 Modified a bit for WebHeaderCollection.cs, into the year 2015 2015-06-15 15:25:59 +09:00
sta
d8b5ae4ff1 Modified a bit for the description of WebHeaderCollection.cs 2015-06-15 15:22:36 +09:00
sta
33684e9fde Refactored a few for WebHeaderCollection.cs 2015-06-14 17:20:30 +09:00
sta
5641184ee6 Reset the headers after the updated headers are sent successfully 2015-06-13 17:20:00 +09:00
sta
bf0cb2f8e3 Check if the headers are valid 2015-06-12 17:14:36 +09:00
sta
97b4ca3cf8 Refactored a few for HttpConnection.cs 2015-06-11 15:43:09 +09:00
sta
a588d8e648 Refactored a few for HttpConnection.cs 2015-06-10 21:31:22 +09:00
David Burhans
23a8c1f4b1 add missed semicolon 2015-06-09 09:17:25 -06:00
David Burhans
ab3d3bd7b5 fix spacing. add intermediate variables 2015-06-09 08:06:04 -06:00
sta
f3cd96966e Refactored the HttpListenerResponse.Close (byte[], bool) and HttpConnection.SendError (string, int) methods 2015-06-09 17:46:56 +09:00
sta
659ab51b59 Refactored a few for HttpListenerResponse.cs 2015-06-08 20:49:52 +09:00
sta
626e22bbcf Modified a few for HttpConnection.cs, use the ResponseStream.Close (bool) method 2015-06-07 14:40:14 +09:00
sta
4f717159c3 Modified a bit for ResponseStream.cs, into the year 2015 2015-06-06 15:22:35 +09:00
sta
0d58843a99 Modified a bit for the description of ResponseStream.cs 2015-06-05 16:50:46 +09:00
sta
28030d0041 Refactored a few for ResponseStream.cs 2015-06-04 18:18:07 +09:00
David Burhans
c6e3e12aaf Port 443 is also a default port and should be excluded from the Host header on websocket requests for compatibility reasons 2015-06-03 11:15:02 -06:00
sta
b6ac7e73e1 Refactored ResponseStream.cs 2015-06-03 16:35:53 +09:00
sta
e4bd4ec5d0 Refactored ResponseStream.cs 2015-06-02 21:40:29 +09:00
sta
fb3c7fc41e Refactored ResponseStream.cs 2015-06-01 20:53:45 +09:00
sta
849c964102 Refactored a few for ResponseStream.cs 2015-05-31 18:14:08 +09:00
sta
854005660b Refactored a few for ResponseStream.cs 2015-05-30 18:16:32 +09:00
sta
66173be9cb Refactored a few for Ext.cs 2015-05-29 17:49:08 +09:00
sta
3c8b8210ac Refactored a few for Ext.cs 2015-05-28 20:03:43 +09:00
sta
f947beb12f Refactored a few for Ext.cs 2015-05-27 21:01:44 +09:00
sta
086956c910 Refactored a few for HttpConnection.cs 2015-05-26 17:37:48 +09:00
sta
fbcf8377d3 Refactored a few for HttpConnection.cs 2015-05-24 17:23:52 +09:00
sta
9113555a54 Refactored a few for HttpConnection.cs 2015-05-23 16:55:40 +09:00
sta
323161988e Fix for issue #131 2015-05-22 15:07:24 +09:00
sta
36dee90278 Modified a bit for PayloadData.cs, into the year 2015 2015-05-22 13:47:19 +09:00
sta
f8320b6b13 Refactored a few for PayloadData.cs 2015-05-21 20:44:13 +09:00
sta
b57d0dad7a Refactored a few for WebSocketFrame.cs, use the Ext.EmptyByteArray field 2015-05-20 17:47:41 +09:00
sta
d2ad08d88a Added internal EmptyByteArray field 2015-05-19 15:42:51 +09:00
sta
e58ee06c4b Modified a bit for WebSocketFrame.cs, into the year 2015 2015-05-18 15:37:02 +09:00
sta
d359146b5c Refactored a few for WebSocketFrame.cs 2015-05-18 15:28:16 +09:00
sta
64fd327e28 Refactored a few for WebSocketFrame.cs 2015-05-17 17:49:21 +09:00
sta
75c45b0523 Refactored a few for WebSocketFrame.cs 2015-05-16 17:08:45 +09:00
sta
ff06963613 Refactored a few for HttpListener.cs 2015-05-15 17:47:32 +09:00
sta
9efcbbe960 Refactored a few for HttpListenerAsyncResult.cs 2015-05-14 16:55:53 +09:00
sta
cafac4ebc5 Refactored ChunkStream.cs 2015-05-13 17:22:13 +09:00
sta
73a4cae782 Modified a bit for InputChunkState.cs, into the year 2015 2015-05-12 16:35:08 +09:00
sta
bc8e9eb5f5 Modified a bit for the description of InputChunkState.cs 2015-05-12 16:32:50 +09:00
sta
8661468ccf Refactored InputChunkState.cs 2015-05-12 16:29:55 +09:00
sta
181400f33a Modified a few for ChunkStream.cs, need to typecast from 'byte' to 'char' 2015-05-11 16:32:13 +09:00
sta
25108b1868 Modified a bit for InputState.cs, into the year 2015 2015-05-10 15:02:02 +09:00
sta
fdcebd7c9a Modified a bit for the description of InputState.cs 2015-05-09 15:25:04 +09:00
sta
cffd94e9c5 Initialize 'data' with null 2015-05-08 15:52:13 +09:00
sta
d0dc29d05d Fix for issue #120, add 0x00 for 'BFINAL Set to 1' 2015-05-07 15:50:15 +09:00
sta
d7dd15042a Modified a bit for LineState.cs, into the year 2015 2015-05-07 14:56:06 +09:00
sta
7930ec2bf0 Modified a bit for the description of LineState.cs 2015-05-07 14:51:53 +09:00
sta
595c68fe6d Refactored a few for LineState.cs, to be PascalCase 2015-05-06 17:01:06 +09:00
sta
dee36926ae Added the WebSocket.CheckPingParameter method, and removed the Ext.CheckIfValidControlData method 2015-05-05 15:21:28 +09:00
sta
531eefac17 Renamed the CheckIfValidCloseParameters methods to the CheckCloseParameters methods 2015-05-04 15:48:18 +09:00