Skip to main content
Question

Does http caller works synchronously or asynchronously?

  • July 5, 2018
  • 1 reply
  • 9 views

raaaju1990
Contributor
Forum|alt.badge.img+6

I’m trying to access an API and extract data using python caller where I’m using url lib to get the response . Since it’ll in works synchronously the process takes time. Now I’m planning to use http caller and I need to know how it handles the requests? Is it synchronously or asynchronously?

1 reply

david_r
Celebrity
  • July 5, 2018

The HTTPCaller is synchronous, i.e. it will wait for the reply (or a timeout) before any output is produced.

In fact, the HTTPCaller is also based on curllib...


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings