aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2019-06-20 12:44:23 +0200
committercbdev <cb@cbcdn.com>2019-06-20 12:44:23 +0200
commit3c75202f5f4e9c1c61fead33f0f08e742d143223 (patch)
tree7f0ad4114530d8f7bf249b6a711916bc40220caa /config.h
parent76a4da3f245636b10f37b46bf3eb86ff3960461d (diff)
downloadwebsocksy-3c75202f5f4e9c1c61fead33f0f08e742d143223.tar.gz
websocksy-3c75202f5f4e9c1c61fead33f0f08e742d143223.tar.bz2
websocksy-3c75202f5f4e9c1c61fead33f0f08e742d143223.zip
Implement keep-alive pings (Fixes #4)
Diffstat (limited to 'config.h')
-rw-r--r--config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h b/config.h
index e39f13e..b151486 100644
--- a/config.h
+++ b/config.h
@@ -2,6 +2,7 @@
typedef struct /*_websocksy_config*/ {
char* host;
char* port;
+ time_t ping_interval;
ws_backend backend;
} ws_config;