|
12345678910111213141516171819202122 |
- #include "./modules/http.mod.hsp"
-
-
- #ifndef __CHAT__
- #define __CHAT__
-
- #module \
- Chat
-
- #define URL (CONFIG_SERVER_URL + "/chat.php")
-
- #deffunc local \
- Send \
- str p_message
- Fetch@Http URL + StrF ("?id=%d&text=%s", id.p_insId, p_message)
-
- Return
-
- #global
-
- #endif ; not __CHAT__
-
|