[OpenSIPS-Devel] [OpenSIPS/opensips] 93c7c5: rest_client: add optional asynchronous capabilitie...
Liviu Chircu
liviu at opensips.org
Mon Jan 12 16:18:17 CET 2015
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 93c7c55450f38b80679265dd456de1853ef22bae
https://github.com/OpenSIPS/opensips/commit/93c7c55450f38b80679265dd456de1853ef22bae
Author: Liviu Chircu <liviu at opensips.org>
Date: 2015-01-12 (Mon, 12 Jan 2015)
Changed paths:
M modules/rest_client/rest_cb.c
M modules/rest_client/rest_client.c
M modules/rest_client/rest_methods.c
M modules/rest_client/rest_methods.h
Log Message:
-----------
rest_client: add optional asynchronous capabilities to rest_get()
rest_get() may now be used in an asynchronous manner, thanks to libcurl's
multi interface. Its syntax is identical to its blocking counterpart.
Scripting example:
async(rest_get("URL", "$var(res)"), my_resume_route);
More information about the Devel
mailing list