We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3ddeda commit 7e2a572Copy full SHA for 7e2a572
websocket-sharp/Server/WebSocketServiceHost.cs
@@ -189,28 +189,6 @@ public TimeSpan WaitTime {
189
190
#endregion
191
192
- #region Private Methods
193
-
194
- private bool canSet (out string message)
195
- {
196
- message = null;
197
198
- var state = _sessions.State;
199
- if (state == ServerState.Start) {
200
- message = "The service has already started.";
201
- return false;
202
- }
203
204
- if (state == ServerState.ShuttingDown) {
205
- message = "The service is shutting down.";
206
207
208
209
- return true;
210
211
212
- #endregion
213
214
#region Internal Methods
215
216
internal void Start ()
0 commit comments