Explorar o código

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

Daniel-Constantin Mierla %!s(int64=4) %!d(string=hai) anos
pai
achega
779dd10d97
Modificáronse 1 ficheiros con 11 adicións e 0 borrados
  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(...) ###