Method Protocols.HTTP.Promise.put_url()


Method get_url
Method post_url
Method put_url
Method delete_url

Concurrent.Future get_url(Protocols.HTTP.Session.URL url, void|Arguments args)
Concurrent.Future post_url(Protocols.HTTP.Session.URL url, void|Arguments args)
Concurrent.Future put_url(Protocols.HTTP.Session.URL url, void|Arguments args)
Concurrent.Future delete_url(Protocols.HTTP.Session.URL url, void|Arguments args)

Description

Sends a GET, POST, PUT or DELETE request to url asynchronously. A Concurrent.Future object is returned on which you can register callbacks via Concurrent.Future->on_success() and Concurrent.Future.on_failure() which will get a Result object as argument.

For an example of usage see Protocols.HTTP.Promise