Asynchronous HTTP Requests in Processing, now with callbacks!
Published October 1st, 2006 in ITP, blog, p5, teaching_I’m working on a new library that makes asynchronous http requests (web pages, xml feeds, etc.) in Processing without blocking possible. It runs its own thread and uses a callback (just like with the serial, video, etc. libraries) This developed out of a need that I noticed in student projects in my Introduction to Computational Media course at ITP.
It’s all very rough and could use some better documentation, but I thought I might let folks take a look, test it out, and provide feedback. Download and read about it. Source code is in the zip for the curious.
It needs a better name, clearly. . .
wow.. this is good.. this is really good!
looking forward to playing with this!
Keep up the good work!
-seltar
Hey this sounds great!
You could possibly call it:
PAC - Processing Asynchronous http requests with Callbacks
– or –
PHAC - Processing HTTP requests Asynchronously with Callbacks