aboutsummaryrefslogtreecommitdiff
path: root/SocketHttpListener/WebSocket.cs
diff options
context:
space:
mode:
authorErwin de Haan <EraYaN@users.noreply.github.com>2019-01-18 16:48:01 +0100
committerErwin de Haan <EraYaN@users.noreply.github.com>2019-01-18 16:48:01 +0100
commitc1f76eb8ab2c4fe536a9b612d659bf739f0cc7ac (patch)
treeb78e697ec3676c70a2db5c98ce2a5ea27fdea105 /SocketHttpListener/WebSocket.cs
parent38f96af079887cce7c38fcde8340fd7c6d1150ad (diff)
Reformat JustAMan review pt3 changes
Diffstat (limited to 'SocketHttpListener/WebSocket.cs')
-rw-r--r--SocketHttpListener/WebSocket.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/SocketHttpListener/WebSocket.cs b/SocketHttpListener/WebSocket.cs
index e5b3f89bc..bf400599d 100644
--- a/SocketHttpListener/WebSocket.cs
+++ b/SocketHttpListener/WebSocket.cs
@@ -78,6 +78,7 @@ namespace SocketHttpListener
init();
}
+ // In the .NET Framework, this pulls the value from a P/Invoke. Here we just hardcode it to a reasonable default.
public static TimeSpan DefaultKeepAliveInterval => TimeSpan.FromSeconds(30);
#endregion