@@ -50,6 +50,8 @@ static void destroy(void);
sl_api_t ws_slb;
+int ws_keepalive_mechanism = KEEPALIVE_MECHANISM_PING;
+
#define DEFAULT_KEEPALIVE_INTERVAL 1
static int ws_keepalive_interval = DEFAULT_KEEPALIVE_INTERVAL;
@@ -37,6 +37,7 @@ enum
extern sl_api_t ws_slb;
extern gen_lock_t *ws_stats_lock;
+extern int ws_keepalive_mechanism;
extern int ws_ping_interval; /* time (in seconds) between sending Pings */
#endif /* _WS_MOD_H */