Hey guys,

I need to do an HTTPS request to the Linode API.

That said, I am looking if would be possible to return an HTTPS response as 
value on this function: http://paste.ubuntu.com/9684987/

I tried some specific things to make the thread wait until request ends, 
like *setTimeout()* and *while (!req.finished) {}*, but nothing seems to 
work as expected.

This is my first Node.js implementation, so I am not sure if this would be 
the better way to perform this action.

Do you guys have any suggestions on this?

Thanks in advance!


-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/86a3fbb1-b12b-4811-b399-a12d3bcee773%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to