{"id":271,"date":"2009-12-10T14:37:02","date_gmt":"2009-12-10T21:37:02","guid":{"rendered":"http:\/\/cknotes.com\/?p=271"},"modified":"2015-08-31T06:44:00","modified_gmt":"2015-08-31T13:44:00","slug":"asynchronous-http","status":"publish","type":"post","link":"https:\/\/cknotes.com\/asynchronous-http\/","title":{"rendered":"Asynchronous HTTP"},"content":{"rendered":"<p><strong>Notice:<\/strong> The functionality described here is deprecated and replaced by a newer model for asynchronous method calls.  The newer model was introduced in Chilkat v9.5.0.52, and is identified by methods having names ending in &#8220;Async&#8221; which return a task object.<\/p>\n<p>The following example demonstrates the <strong>older, deprecated asynchronous HTTP functionality<\/strong> that allows for any HTTP method to be run asynchronously in a background thread:<\/p>\n<p><a href=\"http:\/\/www.example-code.com\/asp\/http_backgroundThread.asp\">ASP: HTTP in a Background Thread (Asynchronous HTTP)<\/a><br \/>\n<a href=\"http:\/\/www.example-code.com\/sql\/http_backgroundThread.asp\">SQL Server: HTTP in a Background Thread (Asynchronous HTTP)<\/a><br \/>\n<a href=\"http:\/\/www.example-code.com\/csharp\/http_backgroundThread.asp\">C#: HTTP in a Background Thread (Asynchronous HTTP)<\/a><br \/>\n<a href=\"http:\/\/www.example-code.com\/vcpp\/http_backgroundThread.asp\">C++: HTTP in a Background Thread (Asynchronous HTTP)<\/a><br \/>\n<a href=\"http:\/\/www.example-code.com\/mfc\/http_backgroundThread.asp\">MFC: HTTP in a Background Thread (Asynchronous HTTP)<\/a><br \/>\n<a href=\"http:\/\/www.example-code.com\/C\/http_backgroundThread.asp\">C: HTTP in a Background Thread (Asynchronous HTTP)<\/a><br \/>\n<a href=\"http:\/\/www.example-code.com\/delphi\/http_backgroundThread.asp\">Delphi: HTTP in a Background Thread (Asynchronous HTTP)<\/a><br \/>\n<a href=\"http:\/\/www.example-code.com\/foxpro\/http_backgroundThread.asp\">Visual FoxPro: HTTP in a Background Thread (Asynchronous HTTP)<\/a><br \/>\n<a href=\"http:\/\/www.example-code.com\/java\/http_backgroundThread.asp\">Java: HTTP in a Background Thread (Asynchronous HTTP)<\/a><br \/>\n<a href=\"http:\/\/www.example-code.com\/perl\/http_backgroundThread.asp\">Perl: HTTP in a Background Thread (Asynchronous HTTP)<\/a><br \/>\n<a href=\"http:\/\/www.example-code.com\/php\/http_backgroundThread.asp\">PHP: HTTP in a Background Thread (Asynchronous HTTP)<\/a><br \/>\n<a href=\"http:\/\/www.example-code.com\/python\/http_backgroundThread.asp\">Python: HTTP in a Background Thread (Asynchronous HTTP)<\/a><br \/>\n<a href=\"http:\/\/www.example-code.com\/ruby\/http_backgroundThread.asp\">Ruby: HTTP in a Background Thread (Asynchronous HTTP)<\/a><br \/>\n<a href=\"http:\/\/www.example-code.com\/vbdotnet\/http_backgroundThread.asp\">VB.NET: HTTP in a Background Thread (Asynchronous HTTP)<\/a><br \/>\n<a href=\"http:\/\/www.example-code.com\/vb\/http_backgroundThread.asp\">Visual Basic: HTTP in a Background Thread (Asynchronous HTTP)<\/a><br \/>\n<a href=\"http:\/\/www.example-code.com\/vbscript\/http_backgroundThread.asp\">VBScript: HTTP in a Background Thread (Asynchronous HTTP)<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Notice: The functionality described here is deprecated and replaced by a newer model for asynchronous method calls. The newer model was introduced in Chilkat v9.5.0.52, and is identified by methods having names ending in &#8220;Async&#8221; which return a task object. The following example demonstrates the older, deprecated asynchronous HTTP functionality that allows for any HTTP [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[494,264,428],"class_list":["post-271","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-asynchronous","tag-background-thread","tag-http"],"_links":{"self":[{"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/posts\/271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/comments?post=271"}],"version-history":[{"count":1,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/posts\/271\/revisions"}],"predecessor-version":[{"id":661,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/posts\/271\/revisions\/661"}],"wp:attachment":[{"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/media?parent=271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/categories?post=271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/tags?post=271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}