Commit Graph

319 Commits

Author SHA1 Message Date
sta
1f40f8e566 [Modify] Polish it
More clearly received or not.
2015-10-17 15:31:00 +09:00
sta
ee177afb7c [Modify] Rename it 2015-10-07 11:08:34 +09:00
sta
e02b553739 [Modify] Rename it to ToArray 2015-10-02 11:32:36 +09:00
sta
cd886d32df Added the Ext.UTF8Encode method 2015-08-23 16:31:18 +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
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
8efe37eb2f Added the public WebSocket.Accept and AcceptAsync methods 2015-08-07 17:27:04 +09:00
sta
776fee9170 Refactored a few for WebSocket.cs 2015-08-05 16:37:53 +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
8cd2248b2b Refactored a few for HttpServer.cs 2015-07-19 15:24:46 +09:00
sta
9360a6d99a Fix for pull request #115, added the HttpServer (string) constructor 2015-07-16 17:37:53 +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
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
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
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
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
cffd94e9c5 Initialize 'data' with null 2015-05-08 15:52:13 +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
sta
e81c5b7d96 Removed the Ext.IsNoStatus methods 2015-05-03 14:46:32 +09:00
sta
f3e0591a18 Moved the Ext.CheckIfValidCloseParameters methods to the WebSocket class 2015-05-02 15:35:03 +09:00
sta
33f578f94b Renamed some of the CloseStatusCode enum values 2015-04-28 17:32:40 +09:00
sta
59effc31ce Refactored a few for WebSocketBehavior.cs 2015-04-25 16:01:09 +09:00
sta
faa689c418 Modified a bit for WebSocketServiceManager.cs, into the year 2015 2015-04-24 15:13:17 +09:00
sta
16df8897a9 Refactored a few for WebSocketServiceManager.cs 2015-04-24 15:11:52 +09:00
sta
a2f5edd1d1 Modified a bit for WebSocketSessionManager.cs, into the year 2015 2015-04-23 14:44:11 +09:00
sta
425d1387a0 Refactored a few for WebSocketSessionManager.cs 2015-04-23 14:41:03 +09:00
sta
7d168515d1 Replaced the PingTo (string id, string message) method with the PingTo (string message, string id) method 2015-04-22 14:56:52 +09:00
sta
8910c6cced Replaced the SendToAsync (string id, Stream stream, int length, Action<bool> completed) method with the SendToAsync (Stream stream, int length, string id, Action<bool> completed) method 2015-04-21 15:38:10 +09:00
sta
d3dd903809 Replaced the SendToAsync (string id, string data, Action<bool> completed) method with the SendToAsync (string data, string id, Action<bool> completed) method 2015-04-21 15:31:37 +09:00
sta
4d837ce8f7 Replaced the SendToAsync (string id, byte[] data, Action<bool> completed) method with the SendToAsync (byte[] data, string id, Action<bool> completed) method 2015-04-21 15:25:27 +09:00
sta
8e1005b90f Replaced the SendTo (string id, string data) method with the SendTo (string data, string id) method 2015-04-21 15:17:20 +09:00
sta
a45baed91c Replaced the SendTo (string id, byte[] data) method with the SendTo (byte[] data, string id) method 2015-04-20 17:12:28 +09:00
sta
ec64e446a4 Modified a bit for WebSocketBehavior.cs, into the year 2015 2015-04-19 15:48:41 +09:00
sta
4876461209 Refactored a few for WebSocketBehavior.cs 2015-04-18 17:42:28 +09:00
sta
f5a1ce2c53 Added the WebSocketBehavior.IgnoreExtensions property, to ignore the extensions requested from the client 2015-04-15 17:03:16 +09:00
sta
828e117190 Replaced the AcceptWebSocket (string, Logger) method with the AcceptWebSocket (string) method 2015-02-05 17:31:33 +09:00
sta
a1da1a8ada Added Log property to the HttpListener class 2015-02-04 17:32:34 +09:00
sta
5c64c3c90e Modified the HttpServer class, fix for 'No Status Code' for the stop 2015-01-28 14:58:22 +09:00
sta
22c1e8e3ad Modified a bit for HttpServer.cs, into the new year 2015 2015-01-28 14:13:56 +09:00
sta
7b050e07e2 Modified the WebSocketServer class, fix for 'No Status Code' for the stop 2015-01-27 16:14:04 +09:00
sta
5c0ccc09a5 Modified a bit for WebSocketServer.cs, into the new year 2015 2015-01-27 13:01:17 +09:00
sta
47931c9a42 Removed checking if an empty string from the Ext.TryCreateWebSocketUri method 2014-12-21 15:28:48 +09:00
sta
86d1da1f1c Refactored WebSocketServer.cs 2014-11-26 14:31:34 +09:00
sta
16a3bfa1b9 Refactored HttpServer.cs 2014-11-25 12:30:18 +09:00
sta
533ef2090a Modified HTTP auth for WebSocketServer class 2014-11-22 14:46:42 +09:00
sta
9c79e28f22 Modified HTTP auth for HttpListener class 2014-11-14 15:49:14 +09:00
sta
214103b7e8 Renamed ServerSslAuthConfiguration class to ServerSslConfiguration class 2014-11-07 11:41:10 +09:00
sta
e3e8fafaa6 Fix for issue #86, added ClientCertificateValidationCallback property to ServerSslAuthConfiguration class, and refactored 2014-11-06 11:16:15 +09:00
sta
0de32bbacc Fix for pull request #85, modified a few for WebSocketServer.SslConfiguration property 2014-11-01 12:26:32 +09:00
sta
689cc28532 Fix for pull request #85, renamed DefaultSslConfiguration property to SslConfiguration property 2014-10-31 20:40:01 +09:00
sta
912b1f0d62 Fix for pull request #85 2014-10-30 19:09:12 +09:00
Adrien JUND
88e224384f Add some xml doc comments to new classes.
Move your new classes under the WebSocketSharp.Net namespace.
And move ServerSslAuthConfiguration.cs to Net folder.
Stay ToolsVersion="3.5" in websocket-sharp.csproj
2014-10-29 11:57:34 +01:00
Adrien JUND
4e7bca4f38 Add some constructors for C# 3.0
Rename ClientCertAuthConfiguration to ClientSslAuthConfiguration
Rename ServerCertAuthConfiguration to ServerSslAuthConfiguration
Add the licence comment to new files
2014-10-28 11:24:00 +01:00
Adrien JUND
cc0ab61eb9 Add SslStream Configuration for Client & Server 2014-10-27 17:15:55 +01:00
sta
36b860b75f Fix for issue #84 2014-10-23 13:51:00 +09:00
sta
7a8967bdcd Added the ReuseAddress property to the HttpServer class (Associated with pull request #73) 2014-10-20 16:00:57 +09:00
sta
6ff6b0485f Can only set the KeepClean property before the start 2014-09-30 14:28:59 +09:00
sta
aab7ef5a55 Fix for issue #76, modified the access level of the WaitTime property of the WebSocket class to the public 2014-09-29 14:30:38 +09:00
sta
e21e35c768 Fix for issue #76, added the WaitTime property to the HttpServer class 2014-09-28 13:53:54 +09:00
sta
ae6c41c64c Fix for issue #76, added the WaitTime property to the WebSocketServer class 2014-09-27 14:42:39 +09:00
sta
c2e60b9d45 Refactored WebSocketFrame.cs 2014-09-24 14:37:11 +09:00
sta
14914787a6 Added internal 'wait time' for the ping and close 2014-09-23 15:45:40 +09:00
sta
b6b30e04d0 Modified some xml doc comments 2014-09-22 11:22:47 +09:00
sta
56acccdda1 Refactored CloseEventArgs.cs 2014-09-21 17:33:07 +09:00
sta
25c103d51e Refactored WebSocketServiceHost.cs 2014-09-20 15:18:30 +09:00
sta
b02cfe1819 Modified some xml doc comments in WebSocketServiceManager.cs 2014-09-19 16:16:26 +09:00
sta
b54faadf01 Refactored WebSocketSessionManager.cs 2014-09-19 16:00:16 +09:00
sta
e84caebfa8 Refactored WebSocketServiceManager.cs 2014-09-18 20:52:38 +09:00
sta
5109d88ebb Renamed the WebSocketService class to the WebSocketBehavior class 2014-09-06 17:50:10 +09:00
sta
73bfd1dbab Refactored HttpServer.cs and WebSocketServer.cs 2014-09-05 15:46:49 +09:00
sta
a1373347c6 Fix for pull request #73, it's because 'The TcpListener.Stop method also closes the underlying Socket, and creates a new Socket for the TcpListener. If you set any properties on the underlying Socket prior to calling the Stop method, those properties will not carry over to the new Socket.' 2014-09-04 16:03:53 +09:00
sta
bc4cb2033d Modified a few in WebSocketServiceHost.cs 2014-09-03 21:43:42 +09:00
sta
a6128fc473 Refactored HttpRequestEventArgs.cs 2014-09-03 14:57:25 +09:00
sta
faaa2e1939 Modified some error messages in Ext.cs and WebSocketServer.cs 2014-09-02 13:58:40 +09:00
sta
d9528ffe75 Refactored HttpServer.cs and WebSocketServer.cs 2014-09-01 14:27:04 +09:00
sta
e15cc63036 Refactored HttpServer.cs 2014-08-31 14:44:10 +09:00
sta
1a1b109508 Refactored WebSocketServiceHost.cs 2014-08-30 11:58:16 +09:00
sta
83869d6750 Refactored WebSocketServer.cs 2014-08-29 19:49:04 +09:00
sta
532b818e2e Fix a few for pull request #73 2014-08-28 12:06:21 +09:00
Jonas Hovgaard
ab9eddb396 Moved ReuseAddress from method to property. 2014-08-26 14:40:36 +02:00
Jonas Hovgaard
e0e21a9e6c Added SetReuseAddress() method to WebSocketServer 2014-08-25 21:03:08 +02:00
sta
e7aa1a469d Refactored Ext.cs 2014-08-19 14:14:59 +09:00
sta
7cb6499c3a Refactored TcpListenerWebSocketContext.cs 2014-07-20 22:04:44 +09:00
sta
ce39129b87 Refactored AuthenticationChallenge.cs and AuthenticationResponse.cs 2014-06-27 21:12:55 +09:00
sta
c20f4804c7 Renamed WsFrame.cs to WebSocketFrame.cs 2014-06-12 19:59:27 +09:00
sta
331d840775 Fix for request url 2014-05-28 14:20:46 +09:00
sta
091b45c8b0 Fix a few for TcpListenerWebSocketContext.cs 2014-05-10 17:20:37 +09:00
sta
470a254a19 Fix a few for Protocol properties 2014-05-07 15:42:14 +09:00
sta
85e567bd72 Modified AcceptWebSocket method with subprotocol 2014-05-06 15:24:54 +09:00
sta
6f5709472d Added checking for not reusing a session 2014-04-03 17:51:47 +09:00
sta
e233e3def3 Modified some xml doc comments 2014-03-10 17:06:14 +09:00
sta
fd57782d69 Modified some xml doc comments 2014-03-09 17:03:13 +09:00
sta
048627b4f9 Modified cookies validation, and added origin header validation 2014-03-07 21:15:55 +09:00
sta
0a9010df86 Modified Opcode enum values to PascalCase values 2014-03-06 17:07:30 +09:00
sta
d632fc839f Modified WebSocketState enum values to PascalCase values 2014-03-05 17:04:45 +09:00
sta
bb8d4c25ba Modified LogLevel enum values to PascalCase values 2014-03-02 22:15:41 +09:00
sta
eb36dd9e82 Modified CloseStatusCode enum values to PascalCase values 2014-03-01 17:32:06 +09:00
sta
4304310430 Modified Mask enum values to PascalCase values 2014-03-01 15:16:25 +09:00
sta
46fc6f927f Modified ByteOrder enum values to PascalCase values 2014-02-28 17:17:44 +09:00
sta
2e853fca63 Fix a few 2014-02-27 20:57:17 +09:00
sta
291397a738 Modified ServerState enum values to PascalCase values 2014-02-27 20:31:47 +09:00
sta
1548112965 Refactored WebSocketServiceManager.cs, WebSocketSessionManager.cs 2014-02-20 16:34:28 +09:00
sta
348aff642d Refactored IWebSocketSession.cs, WebSocketService.cs 2014-02-19 16:21:38 +09:00
sta
b0bcdf33c4 Refactored WebSocketServiceHost.cs 2014-02-17 17:14:34 +09:00
sta
9ee09919b1 Refactored HttpServer.cs, WebSocketServer.cs 2014-02-16 17:23:51 +09:00
sta
a96a6f2226 Refactored WebSocketServer.cs 2014-02-14 15:10:59 +09:00
sta
353e481f95 Renamed WebSocketServiceHostManager.cs to WebSocketServiceManager.cs 2014-02-13 16:09:16 +09:00
sta
d07265dd8e Refactored WebSocketServiceHostManager.cs 2014-02-13 14:38:13 +09:00
sta
f69977a2fe Refactored WebSocketSessionManager.cs 2014-02-12 16:13:50 +09:00
sta
9c65578a0b Fix a few 2014-02-09 14:45:45 +09:00
sta
515cf0cfcf Fix a few 2014-02-08 17:05:24 +09:00
sta
d98b041c1e Fix a few 2014-02-07 19:47:00 +09:00
sta
253f8f7ddc Fix for subprotocols for server 2014-02-07 16:47:59 +09:00
sta
7a42c60578 Refactored HttpServer.cs, WebSocketServer.cs 2014-02-04 16:15:37 +09:00
sta
2fe44b9279 Refactored HttpServer.cs, WebSocketServer.cs 2014-02-03 16:56:37 +09:00
sta
31c3ece37f Modified checking if can send 2014-02-02 16:28:20 +09:00
sta
31463022ee Modified closing 2014-01-31 21:36:20 +09:00
sta
81993cbd97 Modified Ping 2014-01-30 17:13:03 +09:00
sta
82015cdb1a Refactored IWebSocketSession.cs, WebSocketService.cs 2014-01-12 02:41:49 +09:00
sta
816f737821 Refactored WebSocketServiceHostManager.cs, WebSocketSessionManager.cs 2014-01-10 20:48:52 +09:00
sta
d188670fb2 Refactored WebSocketServiceHostManager.cs 2014-01-10 15:45:04 +09:00
sta
418ec8bc2f Added SendAsync methods to the WebSocket class. Existing Send methods were changed to behave synchronously 2014-01-10 05:04:46 +09:00
sta
7147cde22c Fix for internal uri of WebSocket class as a server 2014-01-07 14:19:58 +09:00
sta
809e5ab58c Fix a few 2014-01-06 02:58:02 +09:00
sta
58c392f37a Added ConnectAsync method to the WebSocket class 2014-01-05 16:02:54 +09:00
sta
537229902f Fix for HTTP Basic/Digest Authentication 2014-01-01 21:43:18 +09:00
sta
bf5b71689d Added LICENSE.txt 2013-10-28 15:34:21 +09:00
sta
dcd0052bc8 Fix for issue #21 2013-10-23 16:03:35 +09:00
sta
f6610352e2 Modified some Send and Broadcast methods (e.g. Send (stream, length, dispose) -> Send (stream, length)) 2013-10-16 00:23:11 +09:00
sta
cbf73e9865 Modified WebSocketServer.cs and removed WebSocketServerBase.cs 2013-10-14 20:38:15 +09:00
sta
3488308b29 Modified WebSocketServiceHost.cs and moved WebSocketServiceHost<T> class to internal class family 2013-10-12 20:42:11 +09:00
sta
f6517fa567 Modified WebSocketSessionManager.cs and WebSocketServiceHostManager.cs (Modified parameter order of some methods. e.g. SendTo (data, id) -> SendTo (id, data)) 2013-10-10 16:38:41 +09:00
sta
d6f21d31cd Modified sending (Removed SendAsync method) 2013-10-08 20:17:01 +09:00
sta
ff390b4136 Modified Ext.cs 2013-10-08 11:36:47 +09:00
sta
79abc9aee3 Modified broadcasting 2013-10-03 16:36:43 +09:00
sta
24e74b60b7 Added a new AddWebSocketService method to the WebSocketServer and HttpServer classes 2013-10-02 14:39:56 +09:00
sta
2b57a58da2 Modified closing and ping 2013-10-01 14:52:39 +09:00