Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: hook while downloading from html port

From: g:santilli:tiscalinet:it at: 15-Apr-2004 12:00

Hi Andreas, On Wednesday, April 14, 2004, 8:09:45 PM, you wrote:
>> I was wondering, if its possible to put a hook somewhere (even if >> deep) within the port or more specifically the html port handler, so >> that we can update something elsewhere, do statistics or print out >> transfer rate for example...
AB> I guess you rather mean the http ports, but anyway: I think that AB> should be achievable by using async:// networking. But sorry, haven't AB> done it (yet) and no so I've no example handy. If you only need to report in/out speed in bytes/s or something like that, I have an hacked version of async:// with speed measuring in; it's not much tested, was not meant to be of generic use, it's not based on the latest version of async://, and you'd need to implement an HTTP client on top of it... but if you need it, let me know and I can dig it out. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/