Module: kamailio
Branch: master
Commit: 126f89e72212cee96d0ef3e7b43c249ab9c4429c
URL:
https://github.com/kamailio/kamailio/commit/126f89e72212cee96d0ef3e7b43c249…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2021-07-19T17:31:13+02:00
modules: readme files regenerated - ruxc ... [skip ci]
---
Modified: src/modules/ruxc/README
---
Diff:
https://github.com/kamailio/kamailio/commit/126f89e72212cee96d0ef3e7b43c249…
Patch:
https://github.com/kamailio/kamailio/commit/126f89e72212cee96d0ef3e7b43c249…
---
diff --git a/src/modules/ruxc/README b/src/modules/ruxc/README
index e950003124..e3c9dae852 100644
--- a/src/modules/ruxc/README
+++ b/src/modules/ruxc/README
@@ -11,7 +11,7 @@ Daniel-Constantin Mierla
<miconda(a)gmail.com>
- Copyright © 2021
http://www.asipto.com
+ Copyright © 2021
http://www.asipto.com
__________________________________________________________________
Table of Contents
@@ -109,7 +109,7 @@ modparam("ruxc", "http_timeout", 2000)
4.1. ruxc_http_get(url, hdrs, respv)
4.2. ruxc_http_post(url, body, hdrs, respv)
-4.1. ruxc_http_get(url, hdrs, respv)
+4.1. ruxc_http_get(url, hdrs, respv)
Perform a HTTP GET request to "url", storing the response body in the
"respv" variable. The "hdrs" can be empty string to skip setting
them.
@@ -123,15 +123,15 @@ modparam("ruxc", "http_timeout", 2000)
Example 1.2. ruxc_http_get() usage
...
-http_client_get("http://api.com/index.php?r_uri=$(ru{s.escape.param})&f_uri=$(fu
-{s.escape.param})",
+ruxc_http_get("http://api.com/index.php?r_uri=$(ru{s.escape.param})&f_uri=$(fu{s
+.escape.param})",
"", "X-Token: abc", "$var(result)");
switch ($rc) {
...
}
...
-4.2. ruxc_http_post(url, body, hdrs, respv)
+4.2. ruxc_http_post(url, body, hdrs, respv)
Perform a HTTP POST request to "url", storing the response body in the
"respv" variable. The "body" and "hdrs" can be empty
strings to skip