sta
0d5b7d4553
[Modify] Return bool
10 years ago
sta
a2016d543a
[Modify] Replace it
10 years ago
sta
5c008aba14
[Modify] Replace it
10 years ago
sta
f8f8189b4b
[Modify] Replace it
10 years ago
sta
2018fca931
[Modify] Polish it
10 years ago
sta
af155532c6
[Modify] Use Error
10 years ago
sta
fe722c35a1
[Modify] Polish it
10 years ago
sta
509b2e9b20
[Modify] Polish it
10 years ago
sta
2086107aee
[Modify] Use Error
10 years ago
sta
50dbfe716b
[Modify] Use Error
10 years ago
sta
ebdaecfd19
[Modify] Polish it
10 years ago
sta
5c66a44ac6
[Modify] Into the year 2016
10 years ago
sta
1de22cb3b1
[Modify] Use Error
10 years ago
sta
b56cdd1aae
[Modify] Use Error
10 years ago
sta
bcf65ed7d6
[Modify] Use Error
10 years ago
sta
a569d934c7
[Modify] Use Error
10 years ago
sta
d7a6d822af
[Modify] Polish it
10 years ago
sta
752da8a7f5
[Modify] Use Error
10 years ago
sta
29a858e340
[Modify] Don't call error
10 years ago
sta
d0989cb7c8
[Modify] Use Fatal
10 years ago
sta
f472e91515
[Modify] Use Error
10 years ago
sta
dd2579fd99
[Modify] Use Error
10 years ago
sta
3f8420259f
[Modify] Call error
10 years ago
sta
5cc400a5b2
[Modify] Call error
10 years ago
sta
842b5b3b3a
[Modify] Polish it
10 years ago
sta
8b48f224ea
[Modify] Polish it
10 years ago
sta
07addc4eee
[Modify] Use first fragment to determine if the fragmented data are compressed
10 years ago
sta
7d52b5492d
[Modify] Polish it
10 years ago
sta
ff7e00f661
[Modify] Add RSV check
10 years ago
sta
643cc4552a
[Modify] Polish it
10 years ago
sta
014df48806
[Modify] Open, and then message
10 years ago
sta
dc533278e9
[Modify] Replace it with new message process
10 years ago
sta
b5ae901e5c
[Modify] Polish it
10 years ago
sta
bc794a6b6b
[Modify] Polish it
10 years ago
sta
989ab295dc
[Modify] Polish it
10 years ago
sta
5db923d6bd
[Modify] Polish it
10 years ago
sta
30a62b479d
[Modify] Polish it
...
Remove releasing resources from the closeHandshake method.
10 years ago
sta
0b748281e4
[Modify] Polish it
...
Add a method to release common resources.
10 years ago
sta
1f40f8e566
[Modify] Polish it
...
More clearly received or not.
10 years ago
sta
1d645fe8f0
[Modify] Polish it
10 years ago
sta
16e5111996
[Modify] Polish it
10 years ago
sta
a22bdb9efb
[Modify] Polish it
10 years ago
sta
6fdef3c7f2
[Modify] Add the static constructor
10 years ago
sta
ee177afb7c
[Modify] Rename it
10 years ago
sta
d0cb458550
[Modify] Rename it
10 years ago
sta
e02b553739
[Modify] Rename it to ToArray
10 years ago
sta
4654252a22
[Modify] Polish it
10 years ago
sta
b1e77df0b6
Refactored a few for WebSocket.cs
10 years ago
sta
de8f4caffa
Removed the checkIfAvailable (bool, bool) method
10 years ago
sta
d07e9cb5e9
Removed the checkIfCanAccept method
10 years ago
sta
1d403af6bf
Removed the checkIfCanConnect method
10 years ago
sta
3ba410bc2e
Added checkIfAvailable (bool, bool, bool, bool, bool, bool) method
10 years ago
sta
72302fba97
Refactored a bit for WebSocket.cs
10 years ago
sta
0cddc67001
Initialize the continuation flag when closing
10 years ago
sta
9ff19e6ecd
Added the internal WebSocket.EmptyBytes field
10 years ago
sta
cd886d32df
Added the Ext.UTF8Encode method
10 years ago
sta
ddb5819a0e
Added the WebSocket.CheckSendParameters method
10 years ago
sta
09a64d67be
Added the WebSocket.CheckSendParameter methods
10 years ago
sta
009ca2d701
Refactored a few for WebSocket.cs
10 years ago
sta
d949a64f26
Refactored a few for WebSocket.cs
10 years ago
sta
b0048a213a
Refactored a few for WebSocket.cs
10 years ago
sta
18776d1a22
Added the internal Ext.CheckIfAvailable (WebSocketState, bool, bool, bool, bool) method
10 years ago
sta
7bd0fb87f2
Added the internal Ext.CheckIfCanSend (WebSocketState) method
11 years ago
sta
dce49c037f
Added the internal Ext.CheckIfCanClose (WebSocketState) method
11 years ago
sta
f780f536e2
Refactored a few for WebSocket.cs
11 years ago
sta
5ceb4c4311
Modified a few for the WebSocket.Connect and ConnectAsync methods
11 years ago
sta
8efe37eb2f
Added the public WebSocket.Accept and AcceptAsync methods
11 years ago
sta
745da21631
Added accept method
11 years ago
sta
776fee9170
Refactored a few for WebSocket.cs
11 years ago
sta
586a6202a2
Fix for pull request #146
11 years ago
sta
58a4f02bda
Fix for pull request #113
11 years ago
sta
0be4389d97
Replaced the processFragmentedFrame method with the processFragmentedFrame2 method, and renamed
11 years ago
sta
82077d321c
Added processFragmentedFrame2 method, to replace the processFragmentedFrame method with this
11 years ago
sta
d3410a3ac4
Refactored a few for WebSocket.cs
11 years ago
sta
dbe7e0b17c
Refactored a bit for WebSocket.cs
11 years ago
sta
dee36926ae
Added the WebSocket.CheckPingParameter method, and removed the Ext.CheckIfValidControlData method
11 years ago
sta
531eefac17
Renamed the CheckIfValidCloseParameters methods to the CheckCloseParameters methods
11 years ago
sta
e81c5b7d96
Removed the Ext.IsNoStatus methods
11 years ago
sta
f3e0591a18
Moved the Ext.CheckIfValidCloseParameters methods to the WebSocket class
11 years ago
sta
33f578f94b
Renamed some of the CloseStatusCode enum values
11 years ago
sta
371ac36dd9
Refactored a few for WebSocket.cs
11 years ago
sta
f5a1ce2c53
Added the WebSocketBehavior.IgnoreExtensions property, to ignore the extensions requested from the client
11 years ago
sta
0760613765
Modified a few for the validateSecWebSocketExtensionsHeader method
11 years ago
sta
300574f8a0
Fix for issue #110 , send 'server_no_context_takeover' and 'client_no_context_takeover' parameters in 'permessage-deflate' extension
11 years ago
sta
5eeba8c19f
Modified a bit for the processSecWebSocketExtensionsHeader2 method
11 years ago
sta
0992c85350
Added the validateSecWebSocketExtensionsHeader2 method
11 years ago
sta
b98f8a60cc
Modified a few for the processSecWebSocketExtensionsHeader2 method
11 years ago
sta
b4fb6912e6
Added the createExtensions2 method
11 years ago
sta
446c5176e9
Added the processSecWebSocketExtensionsHeader2 (string) method
11 years ago
sta
d4e844dfcd
Added Log property to the HttpListenerWebSocketContext class
11 years ago
sta
e989e3e18f
Added Log property to the TcpListenerWebSocketContext class
11 years ago
sta
f072485b83
Modified the WebSocket class, fix for 'No Status Code' for the close
11 years ago
sta
dc6250a0e3
Replaced the close method with the close2 method and renamed, fix for the close while connecting
11 years ago
sta
88a1bbb9f6
Added the close2 (CloseEventArgs, bool, bool) method, to replace the close (CloseEventArgs, bool, bool) method with this
11 years ago
sta
fe9ec9f29b
Refactored a bit for WebSocket.cs, into the new year 2015
11 years ago
sta
6c8c4759c4
A small refactoring
11 years ago
sta
4042922810
Added checking more for the proxy authentication
11 years ago
sta
f090fa9d5d
Added some logs for the authentication
11 years ago
sta
47931c9a42
Removed checking if an empty string from the Ext.TryCreateWebSocketUri method
11 years ago
sta
7f01d41679
Modified a few for the WebSocket.sendHandshakeRequest method
11 years ago
sta
54bb87140e
Refactored WebSocket.cs
11 years ago
sta
94c26e6107
Fix for issue #42 , enable redirection to the new url located in the handshake response
11 years ago
sta
072ad21481
Added redirection
11 years ago
sta
34be0af5c6
Added checking if the handshake response is a Redirect
11 years ago
sta
c1d20ec706
Renamed ClientSslAuthConfiguration class to ClientSslConfiguration class
11 years ago
sta
5e9157a3d4
Moved WebSocket.ClientCertificateSelectionCallback property to ClientSslAuthConfiguration class, and refactored
11 years ago
sta
5502e4bdda
Moved WebSocket.ServerCertificateValidationCallback property to ClientSslAuthConfiguration class
11 years ago
sta
c511f9d7ac
Fix for pull request #85 , added TargetHost property to ClientSslAuthConfiguration class, and refactored
11 years ago
sta
912b1f0d62
Fix for pull request #85
11 years ago
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
11 years ago
Adrien JUND
cc0ab61eb9
Add SslStream Configuration for Client & Server
11 years ago
sta
cccafcb584
Fix a bug that enables to send any 'Reserved value' close status code
11 years ago
sta
468c3ab881
Fix a few for pull request #80
11 years ago
David Wood
4852d3c38b
Add support for client certificate selection.
11 years ago
sta
aab7ef5a55
Fix for issue #76 , modified the access level of the WaitTime property of the WebSocket class to the public
11 years ago
sta
c2e60b9d45
Refactored WebSocketFrame.cs
11 years ago
sta
14914787a6
Added internal 'wait time' for the ping and close
11 years ago
sta
b6b30e04d0
Modified some xml doc comments
11 years ago
sta
56acccdda1
Refactored CloseEventArgs.cs
11 years ago
sta
0d5d6d2b4c
Modified to check if valid frame was received
11 years ago
sta
130b0a08d0
Check if the received frame is correctly masked or not
11 years ago
sta
1b920993b7
Call the private close method directly
11 years ago
sta
7bccab8fa0
Refactored WebSocket.cs
11 years ago
sta
64938831ab
Refactored PayloadData.cs
11 years ago
sta
0144984b6f
Fix for issue #72
11 years ago
sta
7eb4e2ec61
Refactored MessageEventArgs.cs
11 years ago
sta
e41e627ebc
Fix a few for pull request #69
11 years ago
Frank Razenberg
e2203986fd
Provide Exception object in ErrorEventArgs if possible
11 years ago
sta
e3941f9517
Renamed SetHttpProxy to SetProxy
12 years ago
sta
22c58105b5
Modified some error messages
12 years ago
sta
ea2066cfcf
Fix a few for SetHttpProxy method
12 years ago
sta
be43c9a343
Modified setClientStream method
12 years ago
sta
635d5372a1
Modified sendProxyConnectRequest method
12 years ago
sta
ae3dc7f7c8
Renamed writeBytes method to sendBytes method
12 years ago
sta
b27283390e
Removed WebSocketStream.cs
12 years ago
sta
95cc941f1b
Fix a few for WebSocket.cs
12 years ago
sta
5dc4703b33
Refactored WebSocketFrame.cs
12 years ago
sta
a0764d89ff
Refactored WebSocketStream.cs
12 years ago
sta
f1162dd2fd
Refactored WebSocket.cs
12 years ago
sta
96f4cef21f
Refactored WebSocket.cs
12 years ago
sta
cff0253b9d
Refactored WebSocket.cs
12 years ago
sta
1ef05fe0c3
Enable to connect through the HTTP Proxy server
12 years ago
sta
0c9179be03
Refactored WebSocket.cs
12 years ago
sta
a18993f2be
Refactored WebSocket.cs
12 years ago
sta
e7c9b19bf0
Modified WebSocketStream.cs to connect through proxy
12 years ago
sta
e45e51e1ef
Renamed HandshakeResponse.cs to HttpResponse.cs, and refactored
12 years ago
sta
4427838632
Renamed HandshakeRequest.cs to HttpRequest.cs, and refactored
12 years ago
sta
ce39129b87
Refactored AuthenticationChallenge.cs and AuthenticationResponse.cs
12 years ago
sta
c20f4804c7
Renamed WsFrame.cs to WebSocketFrame.cs
12 years ago
sta
331d840775
Fix for request url
12 years ago
sta
de88dc3b15
Fix a few for WebSocket.cs
12 years ago
sta
5bd88ee1a3
Fix a few for WebSocket.cs
12 years ago
sta
22778052f3
Fix for issue #43
12 years ago
sta
be85033f8a
Fix for issue #45
12 years ago
sta
fdf413545e
Renamed WsStream.cs to WebSocketStream.cs
12 years ago
sta
85e567bd72
Modified AcceptWebSocket method with subprotocol
12 years ago
sta
12b4af3628
Fix a few for WebSocket.cs
12 years ago
sta
e661827d09
Fix for issue #34
12 years ago
sta
6eead5d317
Fix for issue #34
12 years ago
sta
1c1666adad
Modified WebSocket.Dispose method to as IDisposable.Dispose method
12 years ago
sta
048627b4f9
Modified cookies validation, and added origin header validation
12 years ago
sta
0a9010df86
Modified Opcode enum values to PascalCase values
12 years ago
sta
d632fc839f
Modified WebSocketState enum values to PascalCase values
12 years ago
sta
e594696a38
Modified CompressionMethod enum values to PascalCase values
12 years ago
sta
bb8d4c25ba
Modified LogLevel enum values to PascalCase values
12 years ago
sta
eb36dd9e82
Modified CloseStatusCode enum values to PascalCase values
12 years ago
sta
4304310430
Modified Mask enum values to PascalCase values
12 years ago
sta
4a1919e0fb
Modified Fin enum values to PascalCase values
12 years ago
sta
2a8a9ca061
Refactored WebSocket.cs
12 years ago
sta
673d7225bd
Refactored WebSocket.cs
12 years ago
sta
35b1eef124
Fix for issue #30
12 years ago
sta
488c25642c
Fix for issue #30
12 years ago
sta
8448f0a30b
Fix for issue #30
12 years ago
sta
7e319e8c87
Fix a few
12 years ago
sta
5b9d219938
Fix for extensions for server
12 years ago
sta
685c4067a1
Fix for extensions for client
12 years ago
sta
253f8f7ddc
Fix for subprotocols for server
12 years ago
sta
7e6b82306c
Fix for subprotocols for client
12 years ago
sta
31c3ece37f
Modified checking if can send
12 years ago
sta
31463022ee
Modified closing
12 years ago
sta
4e420c6bc3
Fix a few
12 years ago
sta
fa857e406c
Fix a few
12 years ago
sta
81993cbd97
Modified Ping
12 years ago
sta
68ab8e9ea9
Modified some set operation
12 years ago
sta
2c1078d75c
Modified connecting
12 years ago
sta
11c02a89a0
Renamed processException method to acceptException method
12 years ago
sta
a209158233
Modified xml doc comment of SetCredentials method
12 years ago
sta
75dab14cf5
Fix for issue #29
12 years ago
sta
7c610d06ff
Refactored WebSocket.cs
12 years ago
sta
418ec8bc2f
Added SendAsync methods to the WebSocket class. Existing Send methods were changed to behave synchronously
12 years ago
sta
11d3311f4f
Modified closing
12 years ago
sta
0d938c6d5a
Added CloseAsync methods to the WebSocket class
12 years ago
sta
18cedc1018
Modified closing
12 years ago
sta
e03f9eb631
Modified closing
12 years ago
sta
7147cde22c
Fix for internal uri of WebSocket class as a server
12 years ago
sta
08bdca8fe8
Connect and ConnectAsync methods aren't available as a server
12 years ago
sta
0407486041
Modified connecting
12 years ago
sta
809e5ab58c
Fix a few
12 years ago
sta
58c392f37a
Added ConnectAsync method to the WebSocket class
12 years ago
sta
e7d3a2bb17
Removed a constructor from the WebSocket class
12 years ago