Commit Graph

755 Commits

Author SHA1 Message Date
sta
78a3bdc1b7 Modified a bit for CloseStatusCode.cs, into the year 2015 2015-02-15 18:10:22 +09:00
sta
bd3eba02cf Modified a bit for Opcode.cs, into the year 2015 2015-02-14 16:36:17 +09:00
sta
1cb5b3079d Changed the access level of the Log property to the public 2015-02-13 16:02:26 +09:00
sta
d4e844dfcd Added Log property to the HttpListenerWebSocketContext class 2015-02-12 16:54:38 +09:00
sta
e989e3e18f Added Log property to the TcpListenerWebSocketContext class 2015-02-11 18:00:17 +09:00
sta
14c419fc17 Modified a bit for TcpListenerWebSocketContext.cs, into the year 2015 2015-02-10 18:10:06 +09:00
sta
01770d043d Replaced the HttpListenerWebSocketContext (HttpListenerContext, string, Logger) constructor with the HttpListenerWebSocketContext (HttpListenerContext, string) constructor 2015-02-09 17:41:47 +09:00
sta
4bcd400635 Modified a bit for HttpListenerWebSocketContext.cs, into the year 2015 2015-02-08 15:19:02 +09:00
sta
9df983b9d5 Modified a bit for HttpListenerContext.cs, into the year 2015 2015-02-07 17:01:47 +09:00
sta
9c43fcb039 Modified a bit for the description of HttpListenerContext.cs 2015-02-06 17:33:03 +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
382efaac6e Modified a bit for the description of HttpListener.cs 2015-02-03 15:56:38 +09:00
sta
9e239e75d9 Modified a bit for HttpListener.cs, into the year 2015 2015-02-02 16:56:38 +09:00
sta
9568b0c603 Modified a bit for Ext.cs, into the year 2015 2015-02-01 16:10:11 +09:00
sta
766f2915f5 Modified a few for the description of Ext.cs 2015-01-31 16:49:20 +09:00
sta
bef64963be Modified a bit for the CheckIfValidControlData method 2015-01-30 11:51:18 +09:00
sta
91adf42611 Removed the IsSendable methods 2015-01-29 15:50:13 +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
f072485b83 Modified the WebSocket class, fix for 'No Status Code' for the close 2015-01-26 17:34:02 +09:00
sta
1bb7775a7e Added the CheckIfValidCloseParameters (CloseStatusCode, string) method 2015-01-25 17:51:09 +09:00
sta
2c8ca0a491 Added the CheckIfValidCloseParameters (ushort, string) method 2015-01-24 15:45:04 +09:00
sta
85d77399cc Added the IsSendable (CloseStatusCode) method 2015-01-23 16:31:26 +09:00
sta
a74f109649 Added the IsNoStatusCode (CloseStatusCode) method 2015-01-22 16:18:50 +09:00
sta
fa936b1743 Added the IsSendable (ushort) method 2015-01-21 16:45:54 +09:00
sta
9a06b646d7 Added the IsNoStatusCode (ushort) method 2015-01-20 17:57:09 +09:00
sta
dc6250a0e3 Replaced the close method with the close2 method and renamed, fix for the close while connecting 2015-01-19 17:56:48 +09:00
sta
88a1bbb9f6 Added the close2 (CloseEventArgs, bool, bool) method, to replace the close (CloseEventArgs, bool, bool) method with this 2015-01-18 17:27:23 +09:00
sta
fe9ec9f29b Refactored a bit for WebSocket.cs, into the new year 2015 2015-01-17 16:56:46 +09:00
sta
c588c2e0a6 Refactored a bit for EndPointListener.cs, modified description about the source of this code 2015-01-16 16:21:22 +09:00
sta
3307f472bb Refactored a bit for EndPointListener.cs, replaced 'args' with 'e' 2015-01-15 14:34:14 +09:00
sta
75ac784100 Refactored a few for HttpConnection.cs 2015-01-14 13:47:55 +09:00
sta
4fbcd862f3 Refactored a few for HttpConnection.cs 2015-01-13 16:07:56 +09:00
sta
1692f87d07 Refactored a few for HttpConnection.cs 2015-01-12 14:07:12 +09:00
sta
0207575b99 Into the new year 2015 2015-01-11 14:07:55 +09:00
sta
2b84433b38 Refactored a few for HttpConnection.cs 2015-01-10 14:22:54 +09:00
sta
419f349738 Refactored a few for HttpConnection.cs 2015-01-09 16:35:14 +09:00
sta
9431f9473c Refactored a few for EndPointListener.cs 2015-01-08 14:36:05 +09:00
sta
a26ecb8595 Refactored a few for EndPointListener.cs 2015-01-07 14:47:00 +09:00
sta
61f62f050f Returned to the previous, this is for Unity 2015-01-06 15:39:29 +09:00
sta
6af171ddcb Refactored a few for EndPointListener.cs 2015-01-05 16:37:14 +09:00
sta
2179b2eec1 Refactored a few for EndPointListener.cs 2015-01-04 14:47:30 +09:00
sta
e5df79514f Refactored a few for EndPointListener.cs 2015-01-03 16:18:35 +09:00
sta
b73a95df8f Refactored a few for EndPointListener.cs 2015-01-02 17:19:28 +09:00
sta
d337911f9c Refactored a few for EndPointListener.cs 2014-12-31 13:47:02 +09:00
sta
d25abde628 Fix for issue #94, handle the value returned from the Socket.AcceptAsync method 2014-12-30 15:23:45 +09:00
sta
e43558c780 Refactored the onAccept method 2014-12-29 16:38:05 +09:00
sta
744334b79e Handle the value returned from the Socket.AcceptAsync method 2014-12-28 17:38:16 +09:00
sta
f285e7af12 Added processAccepted method 2014-12-27 17:04:44 +09:00
sta
6c8c4759c4 A small refactoring 2014-12-26 16:12:38 +09:00
sta
93137666f7 Removed the ProxyAuthenticationChallenge property from the HttpResponse class 2014-12-25 14:26:16 +09:00
sta
4042922810 Added checking more for the proxy authentication 2014-12-24 15:47:44 +09:00
sta
778d01b3d7 Removed the AuthenticationChallenge property from the HttpResponse class 2014-12-23 15:57:01 +09:00
sta
f090fa9d5d Added some logs for the authentication 2014-12-22 14:57:52 +09:00
sta
47931c9a42 Removed checking if an empty string from the Ext.TryCreateWebSocketUri method 2014-12-21 15:28:48 +09:00
sta
7f01d41679 Modified a few for the WebSocket.sendHandshakeRequest method 2014-12-20 15:13:05 +09:00
sta
a23bd04bdc Added HasConnectionClose property to the HttpResponse class 2014-12-19 15:28:44 +09:00
sta
54bb87140e Refactored WebSocket.cs 2014-12-17 14:10:58 +09:00
sta
94c26e6107 Fix for issue #42, enable redirection to the new url located in the handshake response 2014-12-16 14:22:31 +09:00
sta
072ad21481 Added redirection 2014-12-15 15:47:42 +09:00
sta
34be0af5c6 Added checking if the handshake response is a Redirect 2014-12-14 15:34:29 +09:00
sta
3cc62a3590 Removed the IsMoved property 2014-12-13 12:21:10 +09:00
sta
0e5a35edf7 Added IsMoved property to the HttpResponse class 2014-12-12 12:36:50 +09:00
sta
e7c4b1416a Added IsRedirect property to the HttpResponse class 2014-12-11 14:27:13 +09:00
sta
696287e25a Modified a few for xml doc comment 2014-12-10 14:28:30 +09:00
sta
bf890b5b47 Added the HTTP response headers for the WebSocket 2014-12-09 14:24:17 +09:00
sta
f3fb377f45 Added the HTTP request headers for the WebSocket 2014-12-08 11:55:25 +09:00
sta
c1dc05a256 Added HttpResponseHeader.cs 2014-12-07 10:05:09 +09:00
sta
10af3facc8 Added HttpRequestHeader.cs 2014-12-06 11:53:29 +09:00
sta
0e8399d8a2 Refactored HttpHeaderInfo.cs 2014-12-05 11:07:33 +09:00
sta
3b297e3d7d Refactored WebHeaderCollection.cs 2014-12-04 15:51:22 +09:00
sta
dbe97b4d00 Refactored HttpHeaderInfo.cs 2014-12-03 14:27:48 +09:00
sta
171df40d85 Refactored HttpConnection.cs 2014-12-01 15:21:50 +09:00
sta
477ef2277e Removed throwing the exception in from Ext.EqualsWith method 2014-11-30 15:29:11 +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
04966f221b Modified HTTP auth for HttpListener class 2014-11-24 14:54:30 +09:00
sta
5003c10e0c Modified HTTP auth for HttpListener class 2014-11-23 11:23:06 +09:00
sta
533ef2090a Modified HTTP auth for WebSocketServer class 2014-11-22 14:46:42 +09:00
sta
b521456dd6 Modified HTTP auth for HttpListener class 2014-11-21 15:07:25 +09:00
sta
55527ef514 Modified a few for SetUser method 2014-11-20 11:44:30 +09:00
sta
298ed9210e Renamed ListenerAsyncResult class to HttpListenerAsyncResult class 2014-11-15 15:13:51 +09:00
sta
9c79e28f22 Modified HTTP auth for HttpListener class 2014-11-14 15:49:14 +09:00
sta
06585e48b5 Added SslConfiguration class to be base of ClientSslConfiguration and ServerSslConfiguration classes 2014-11-08 15:57:47 +09:00
sta
214103b7e8 Renamed ServerSslAuthConfiguration class to ServerSslConfiguration class 2014-11-07 11:41:10 +09:00
sta
c1d20ec706 Renamed ClientSslAuthConfiguration class to ClientSslConfiguration class 2014-11-06 11:51:38 +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
5e9157a3d4 Moved WebSocket.ClientCertificateSelectionCallback property to ClientSslAuthConfiguration class, and refactored 2014-11-05 11:06:55 +09:00
sta
5502e4bdda Moved WebSocket.ServerCertificateValidationCallback property to ClientSslAuthConfiguration class 2014-11-04 11:01:40 +09:00
sta
c511f9d7ac Fix for pull request #85, added TargetHost property to ClientSslAuthConfiguration class, and refactored 2014-11-03 15:11:43 +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
sta
956f16a162 Merge pull request #85 from Liryna/master
Add SslStream Configuration for Client & Server
2014-10-30 14:02:45 +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
sta
6822fdce36 Refactored WebHeaderCollection.cs 2014-10-29 14:41:30 +09: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
sta
af250750b7 Refactored ListenerAsyncResult.cs 2014-10-28 14:10:52 +09:00
Adrien JUND
cc0ab61eb9 Add SslStream Configuration for Client & Server 2014-10-27 17:15:55 +01:00
sta
713c258989 Refactored ListenerAsyncResult.cs 2014-10-27 14:37:45 +09:00
sta
72867a26da Fix for issue #84 2014-10-26 13:22:33 +09:00
sta
f60f16f70f Fix for issue #84 2014-10-25 11:56:28 +09:00
sta
2a3a62ec82 Fix for issue #84 2014-10-24 11:53:24 +09:00
sta
36b860b75f Fix for issue #84 2014-10-23 13:51:00 +09:00
sta
cccafcb584 Fix a bug that enables to send any 'Reserved value' close status code 2014-10-23 11:45:00 +09:00
sta
d156dffd55 Renamed the ListenerPrefix class to the HttpListenerPrefix class 2014-10-23 10:41:06 +09:00
sta
93993790f1 Refactored HttpListenerPrefixCollection.cs 2014-10-22 11:38:31 +09:00
sta
29fa277cdc Refactored HttpListenerPrefixCollection.cs 2014-10-21 11:36:15 +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
4cfdd7e793 Refactored HttpListenerPrefixCollection.cs 2014-10-19 14:42:08 +09:00
sta
0082b2d191 Refactored HttpListenerPrefixCollection.cs 2014-10-18 15:22:38 +09:00
sta
cf82b45163 Refactored ListenerPrefix.cs 2014-10-17 15:35:23 +09:00
sta
292a904ad7 Refactored EndPointListener.cs 2014-10-16 14:44:09 +09:00
sta
3dee61f5f8 Refactored EndPointManager.cs 2014-10-15 13:15:30 +09:00
sta
85dd00626b Refactored HttpListener.cs 2014-10-14 14:04:50 +09:00
sta
f46953a5ad Refactored HttpListener.cs 2014-10-13 21:20:11 +09:00
sta
157dcf26b4 Refactored HttpListener.cs 2014-10-12 18:23:19 +09:00
sta
468c3ab881 Fix a few for pull request #80 2014-10-10 14:46:18 +09:00
David Wood
4852d3c38b Add support for client certificate selection. 2014-10-08 12:27:16 +01: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
7458f65033 Modified a few xml doc comments in CloseStatusCode.cs 2014-09-26 13:53:46 +09:00
sta
8dceb1fb0c Modified a few in CloseEventArgs.cs 2014-09-25 11:04:53 +09:00
sta
f94c6850d4 Refactored PayloadData.cs 2014-09-24 19:01:01 +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
0d5d6d2b4c Modified to check if valid frame was received 2014-09-17 14:50:22 +09:00
sta
130b0a08d0 Check if the received frame is correctly masked or not 2014-09-16 14:53:26 +09:00
sta
dd25d1d0a4 Refactored PayloadData.cs 2014-09-15 14:39:14 +09:00
sta
1b920993b7 Call the private close method directly 2014-09-14 15:42:08 +09:00
sta
a857cb6b6f Modified a few in WebSocketFrame.cs 2014-09-13 15:55:29 +09:00
sta
33e8d95488 Refactored PayloadData.cs 2014-09-12 21:47:50 +09:00
sta
7bccab8fa0 Refactored WebSocket.cs 2014-09-11 22:15:09 +09:00
sta
3f970d8ad5 Modified a few in WebSocketFrame.cs 2014-09-10 13:50:28 +09:00
sta
5a2be24002 Refactored WebSocketException.cs 2014-09-09 11:08:59 +09:00
sta
66a4b2a85a Modified a few in WebSocketState.cs 2014-09-08 13:45:31 +09:00
sta
64938831ab Refactored PayloadData.cs 2014-09-07 22:18:45 +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
sta
3f7e2ab69f Merge pull request #73 from jhovgaard/master
Added ReuseAddress property to WebSocketServer
2014-08-28 11:36:24 +09:00
sta
0144984b6f Fix for issue #72 2014-08-27 14:30:32 +09:00
Jonas Hovgaard
ab9eddb396 Moved ReuseAddress from method to property. 2014-08-26 14:40:36 +02:00
sta
e03bdeeb19 Fix for pull request #57 - Removed checkDisposed from property getters 2014-08-26 19:53:48 +09:00
Jonas Hovgaard
e0e21a9e6c Added SetReuseAddress() method to WebSocketServer 2014-08-25 21:03:08 +02:00
sta
7eb4e2ec61 Refactored MessageEventArgs.cs 2014-08-24 16:01:29 +09:00
sta
4e50200dcc Modified some xml doc comments in CloseEventArgs.cs 2014-08-23 17:17:53 +09:00
sta
8989cb8c49 Modified some xml doc comments in ErrorEventArgs.cs 2014-08-22 22:01:18 +09:00
sta
e41e627ebc Fix a few for pull request #69 2014-08-21 20:48:37 +09:00
sta
8b2ff1012a Merge pull request #69 from zzattack/master
Propagate exception object when error occurs
2014-08-21 20:03:43 +09:00
Frank Razenberg
9a8a018e65 Add <.NET 4 compatible constructor and xml doc entry to ErrorEventArgs 2014-08-21 09:26:47 +02:00
sta
9f813eed51 Refactored HttpListenerResponse.cs 2014-08-21 12:35:36 +09:00
Frank Razenberg
05f8db95b6 Fix whitespace 2014-08-20 16:23:01 +02:00
Frank Razenberg
e2203986fd Provide Exception object in ErrorEventArgs if possible 2014-08-20 16:20:10 +02:00
sta
d942e75419 Refactored HttpListenerResponse.cs 2014-08-20 23:19:29 +09:00
sta
e7aa1a469d Refactored Ext.cs 2014-08-19 14:14:59 +09:00
sta
2355d88a21 Refactored HttpUtility.cs 2014-08-18 14:46:16 +09:00
sta
ca7916a8d8 Refactored HttpUtility.cs 2014-08-17 22:45:43 +09:00
sta
3854f218b4 Added GetEncoding method 2014-08-16 16:30:22 +09:00
sta
d3027834ca Modified Unquote method 2014-08-15 14:53:27 +09:00
sta
11298565a4 Refactored CookieCollection.cs 2014-08-14 22:43:09 +09:00
sta
c8bd8e9522 Refactored Cookie.cs 2014-08-13 22:54:31 +09:00
sta
0a742f2e91 Refactored Ext.cs 2014-08-12 21:48:48 +09:00
sta
decddde20a Refactored Ext.cs 2014-08-11 21:45:18 +09:00
sta
aedefc1391 Added GetValue (this string, string, bool) method 2014-08-10 21:49:42 +09:00
sta
034e245272 Refactored HttpListenerRequest.cs 2014-08-09 21:08:33 +09:00
sta
c1dd8d659e Refactored Logger.cs 2014-08-08 20:57:09 +09:00
sta
e3941f9517 Renamed SetHttpProxy to SetProxy 2014-08-07 19:43:14 +09:00
sta
22c58105b5 Modified some error messages 2014-08-06 21:42:23 +09:00
sta
ea2066cfcf Fix a few for SetHttpProxy method 2014-08-05 20:08:13 +09:00
sta
be43c9a343 Modified setClientStream method 2014-08-04 20:03:26 +09:00
sta
635d5372a1 Modified sendProxyConnectRequest method 2014-08-03 22:04:31 +09:00
sta
8103a754bb Modified for quoted string 2014-08-01 20:58:46 +09:00
sta
b840ac0eb9 Fix for issue #61 2014-07-31 21:16:28 +09:00
sta
14aa5932bc Refactored LogData.cs 2014-07-30 21:20:56 +09:00
sta
ae3dc7f7c8 Renamed writeBytes method to sendBytes method 2014-07-29 21:43:58 +09:00
sta
b27283390e Removed WebSocketStream.cs 2014-07-28 18:02:05 +09:00
sta
95cc941f1b Fix a few for WebSocket.cs 2014-07-27 17:43:15 +09:00
sta
5dc4703b33 Refactored WebSocketFrame.cs 2014-07-26 22:01:13 +09:00
sta
48c6fac2f5 Moved some methods from WebSocketStream class to HttpBase class 2014-07-25 13:28:28 +09:00
sta
a0764d89ff Refactored WebSocketStream.cs 2014-07-24 15:02:42 +09:00