[sr-dev] git:master:5ba1360c: modules: readme files regenerated - http_async_client ...

Kamailio Dev kamailio.dev at kamailio.org
Fri Sep 16 10:01:31 CEST 2016


Module: kamailio
Branch: master
Commit: 5ba1360cd2c783e2c19e4b1a94c952ec4d856bdd
URL: https://github.com/kamailio/kamailio/commit/5ba1360cd2c783e2c19e4b1a94c952ec4d856bdd

Author: Kamailio Dev <kamailio.dev at kamailio.org>
Committer: Kamailio Dev <kamailio.dev at kamailio.org>
Date: 2016-09-16T10:01:22+02:00

modules: readme files regenerated - http_async_client ...

---

Modified: modules/http_async_client/README

---

Diff:  https://github.com/kamailio/kamailio/commit/5ba1360cd2c783e2c19e4b1a94c952ec4d856bdd.diff
Patch: https://github.com/kamailio/kamailio/commit/5ba1360cd2c783e2c19e4b1a94c952ec4d856bdd.patch

---

diff --git a/modules/http_async_client/README b/modules/http_async_client/README
index b145301..28aef44 100644
--- a/modules/http_async_client/README
+++ b/modules/http_async_client/README
@@ -48,7 +48,7 @@ Federico Cabiddu
 
         4. Functions
 
-              4.1. http_async_query(url, [post_data], route_name)
+              4.1. http_async_query(url, route_name)
               4.2. http_async_suspend(suspend)
               4.3. tls_verify_host(verify)
               4.4. tls_verify_peer(verify)
@@ -119,7 +119,7 @@ Chapter 1. Admin Guide
 
    4. Functions
 
-        4.1. http_async_query(url, [post_data], route_name)
+        4.1. http_async_query(url, route_name)
         4.2. http_async_suspend(suspend)
         4.3. tls_verify_host(verify)
         4.4. tls_verify_peer(verify)
@@ -321,7 +321,7 @@ modparam("http_async_client", "tls_ca_path", "/etc/kamailio/ssl/ca/")
 
 4. Functions
 
-   4.1. http_async_query(url, [post_data], route_name)
+   4.1. http_async_query(url, route_name)
    4.2. http_async_suspend(suspend)
    4.3. tls_verify_host(verify)
    4.4. tls_verify_peer(verify)
@@ -332,18 +332,11 @@ modparam("http_async_client", "tls_ca_path", "/etc/kamailio/ssl/ca/")
    4.9. http_set_tls_client_key(path)
    4.10. http_set_tls_ca_path(path)
 
-4.1.  http_async_query(url, [post_data], route_name)
+4.1.  http_async_query(url, route_name)
 
    Sends HTTP(S) request asyncronously to the URL given in “url”
    parameter, which is a string that may contain pseudo variables.
 
-   Unless a specific HTTP method was specified using
-   http_async_set_method(), it defaults to a GET request, or to a POST
-   request if “post_data” is provided as second argument.
-
-   Parameter “post_data”, optional, which is sent as the body of the
-   request, may also contain pseudo variables.
-
    Parameter “route_name” defines the route to be executed upon reception
    of HTTP reply, on error or on timeout. If a transaction exists before
    calling http_async_query(), it will be paused and resumed in this
@@ -567,9 +560,10 @@ xlog("L_INFO", "received reply for query $http_query_id\n");
    key can be one of:
      * all: if set to $null, resets all the parameters to their default
        value (the ones defined in modparam)
-     * hdr: sets/modifies/remove a HTTP header (see http_append_header()).
-       N.B.: setting this variable multiple times will add several headers
-       to the query.
+     * hdr: sets/modifies/removes a HTTP header (see
+       http_append_header()). N.B.: setting this variable multiple times
+       will add several headers to the query.
+     * body: sets/modifies/removes the request body
      * method: sets the HTTP method (see http_set_method())
      * timeout: sets the HTTP timeout (see http_set_timeout())
      * tls_client_cert: sets the client certificate to use (see




More information about the sr-dev mailing list