Browse Source

kamailio-kemi-framework: document KSR.is_WSX()

Daniel-Constantin Mierla 4 years ago
parent
commit
779dd10d97
1 changed files with 11 additions and 0 deletions
  1. 11 0
      kamailio-kemi-framework/docs/core.md

+ 11 - 0
kamailio-kemi-framework/docs/core.md

@@ -503,6 +503,17 @@ if KSR.is_WSS() then
 end
 ```
 
+### KSR.is_WSX() ###
+
+`bool is_WSX()`
+
+Return true if the incoming protocol is WS or WSS.
+
+```Lua
+if KSR.is_WSX() then
+  ...
+end
+```
 
 ### KSR.is_proto(...) ###