Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: how do get the POST data or the full URI #5

Open
dionjwa opened this issue Oct 28, 2010 · 1 comment
Open

Request: how do get the POST data or the full URI #5

dionjwa opened this issue Oct 28, 2010 · 1 comment

Comments

@dionjwa
Copy link

dionjwa commented Oct 28, 2010

I'm trying to get the post data or the full URI for an HTTP request. However, in Node.hx, Request typedef has no uri field. Also, it is not an EventEmitter, so you can't listen for "data" events (described in the Node.js documentation).

What am I missing?

@dionjwa
Copy link
Author

dionjwa commented Oct 28, 2010

Ok, you can just make the Request typedef an EventEmitter, and it works fine (in Node.hx):

-typedef Request ={

+typedef Request = { > EventEmitter,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant