D
d c
hi -
i want to notify a webservice of something, but not wait for the
response. whats the best way to do this?
is there a way to use a GET call to just send a request and then continue?
i could use the timeout library i guess with a timeout of 0 ? which i
guess spawns a thread...
or use
system("curl #{url}")
but this seems like a lot of overhead.
is there a UDP package for ruby?
i guess another hack might be to return a page to the user with a GIF
image with a URL of the service i want to request,
then it will take no resources from my system...
<img width=1 height=1 src='http://server/notify/event" />
tx
/dc
i want to notify a webservice of something, but not wait for the
response. whats the best way to do this?
is there a way to use a GET call to just send a request and then continue?
i could use the timeout library i guess with a timeout of 0 ? which i
guess spawns a thread...
or use
system("curl #{url}")
but this seems like a lot of overhead.
is there a UDP package for ruby?
i guess another hack might be to return a page to the user with a GIF
image with a URL of the service i want to request,
then it will take no resources from my system...
<img width=1 height=1 src='http://server/notify/event" />
tx
/dc