[Modify] Polish it

This commit is contained in:
sta 2015-12-05 13:43:46 +09:00
parent 014df48806
commit 643cc4552a

View File

@ -68,49 +68,47 @@ namespace WebSocketSharp
{ {
#region Private Fields #region Private Fields
private AuthenticationChallenge _authChallenge; private AuthenticationChallenge _authChallenge;
private string _base64Key; private string _base64Key;
private bool _client; private bool _client;
private Action _closeContext; private Action _closeContext;
private CompressionMethod _compression; private CompressionMethod _compression;
private WebSocketContext _context; private WebSocketContext _context;
private CookieCollection _cookies; private CookieCollection _cookies;
private NetworkCredential _credentials; private NetworkCredential _credentials;
private bool _emitOnPing; private bool _emitOnPing;
private bool _enableRedirection; private bool _enableRedirection;
private string _extensions; private AutoResetEvent _exitReceiving;
private AutoResetEvent _exitReceiving; private string _extensions;
private Opcode _fopcode; private Opcode _fopcode;
private object _forConn; private object _forConn;
private object _forMessageEventQueue; private object _forMessageEventQueue;
private object _forSend; private object _forSend;
private MemoryStream _fragmentsBuffer; private MemoryStream _fragmentsBuffer;
private const string _guid = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; private const string _guid = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11";
private Func<WebSocketContext, string> private Func<WebSocketContext, string> _handshakeRequestChecker;
_handshakeRequestChecker; private bool _ignoreExtensions;
private bool _ignoreExtensions; private bool _inContinuation;
private bool _inContinuation; private volatile bool _inMessage;
private volatile bool _inMessage; private volatile Logger _logger;
private volatile Logger _logger; private Action<MessageEventArgs> _message;
private Action<MessageEventArgs> private Queue<MessageEventArgs> _messageEventQueue;
_message; private uint _nonceCount;
private Queue<MessageEventArgs> _messageEventQueue; private string _origin;
private uint _nonceCount; private bool _preAuth;
private string _origin; private string _protocol;
private bool _preAuth; private string[] _protocols;
private string _protocol; private NetworkCredential _proxyCredentials;
private string[] _protocols; private Uri _proxyUri;
private NetworkCredential _proxyCredentials; private volatile WebSocketState _readyState;
private Uri _proxyUri; private AutoResetEvent _receivePong;
private volatile WebSocketState _readyState; private bool _secure;
private AutoResetEvent _receivePong; private ClientSslConfiguration _sslConfig;
private bool _secure; private Stream _stream;
private ClientSslConfiguration _sslConfig; private TcpClient _tcpClient;
private Stream _stream; private Uri _uri;
private TcpClient _tcpClient; private const string _version = "13";
private Uri _uri; private TimeSpan _waitTime;
private const string _version = "13";
private TimeSpan _waitTime;
#endregion #endregion