Преглед на файлове

modules: readme files regenerated - http_async_client ... [skip ci]

Kamailio Dev преди 4 години
родител
ревизия
a93d3f9375
променени са 1 файла, в които са добавени 15 реда и са изтрити 0 реда
  1. 15 0
      src/modules/http_async_client/README

+ 15 - 0
src/modules/http_async_client/README

@@ -477,6 +477,21 @@ http_async_query("https://example.com/test.php", "HTTP_REPLY");
      * $http_mb and $http_ml: HTTP response buffer (including headers) and
      * $http_mb and $http_ml: HTTP response buffer (including headers) and
        length
        length
      * $http_rb and $http_bs: HTTP response body and body length
      * $http_rb and $http_bs: HTTP response body and body length
+     * $http_time: provides access to broken-down transfer time in
+       microseconds calculated by cURL
+       (https://curl.se/libcurl/c/curl_easy_getinfo.html).
+       'name' can be:
+          + total - total time for the transfer
+          + lookup - name lookup time
+          + connect - time from the start until the connection to the
+            remote host (or proxy) was completed.
+          + appconnect - time from start until SSL/SSH handshake completed
+          + pretransfer - time from start until just before the transfer
+            begins
+          + starttransfer - time from start until just when the first byte
+            is received
+          + redirect - time taken for all redirect steps before the final
+            transfer.
 
 
 6. Statistics
 6. Statistics