From 28f223a0a6d0e596fd140231de899233cd2ddd8c Mon Sep 17 00:00:00 2001 From: Giacomo Vacca Date: Tue, 25 Apr 2017 22:36:14 +0200 Subject: [PATCH] http_async_client: doc review (old functions) --- .../http_async_client/doc/http_async_client_admin.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/http_async_client/doc/http_async_client_admin.xml b/src/modules/http_async_client/doc/http_async_client_admin.xml index a9598c8f96b..b7136a8d7d1 100644 --- a/src/modules/http_async_client/doc/http_async_client_admin.xml +++ b/src/modules/http_async_client/doc/http_async_client_admin.xml @@ -308,11 +308,11 @@ modparam("http_async_client", "tls_ca_path", "/etc/kamailio/ssl/ca/") 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 route, while the routing script execution will be stopped. - If executed in a transactionless context, or if http_async_suspend_transaction() or $http_req(suspend) are used to not suspend the transaction, the routing script execution will + If executed in a transactionless context, or if $http_req(suspend) is used not to suspend the transaction, the routing script execution will continue and the query result will be available in route_name. - Return value: 0 (stop script execution) on success in transaction context, 1 (continue script execution) in transaction-less context (or if http_async_suspend_transaction(0) or $http_req(suspend) are used), -1 on error. + Return value: 0 (stop script execution) on success in transaction context, 1 (continue script execution) in transaction-less context (or if $http_req(suspend) is used), -1 on error. This function can be used from ANY_ROUTE. @@ -369,7 +369,7 @@ 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/removes 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. 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: either "GET", "POST", "PUT" or "DELETE" (these are the supported methods). (Note: if the method is not set, curl will use GET, or POST if a body is specified) timeout: sets the HTTP timeout