User Tools

Site Tools


devel:libcurl_integration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision Both sides next revision
devel:libcurl_integration [2016/01/28 20:43]
hugh.waite created
devel:libcurl_integration [2016/01/28 20:55]
hugh.waite [Requirements]
Line 14: Line 14:
  
 ==== Requirements ==== ==== Requirements ====
-  Synchronous queries +  Synchronous queries 
-  Asynchronous queries that suspend the transaction and resume on completion +  Asynchronous queries that suspend the transaction and resume on completion 
-  Asynchronous queries that call an event_route on completion +  Asynchronous queries that call an event_route on completion 
-  Ability to configure 'named connections' with preset curl options (keys/certs, verify flags etc) +  Ability to configure 'named connections' with preset curl options (keys/certs, verify flags etc) 
-  query functions exported via a C API to other modules+  query functions exported via a C API to other modules
 Any more? Any more?
 See also [[https://github.com/kamailio/kamailio/blob/master/modules/curl/TODO.txt|TODO.txt]] in the curl module See also [[https://github.com/kamailio/kamailio/blob/master/modules/curl/TODO.txt|TODO.txt]] in the curl module
  
 +  * Ability to pass a list of HTTP header to add
 +  * Ability to retrieve response headers (e.g. header callback function) - required for xcap_client module
 +
 +==== Discussion ====
 The curl module currently offers a synchronous query function which can use named connections set up in modparams. Client certificates and parameters can be configured globally or per connection and there is an exported API. This uses the curl 'easy' interface without worker processes. The curl module currently offers a synchronous query function which can use named connections set up in modparams. Client certificates and parameters can be configured globally or per connection and there is an exported API. This uses the curl 'easy' interface without worker processes.
  
devel/libcurl_integration.txt · Last modified: 2016/02/03 11:04 by oej