-
Notifications
You must be signed in to change notification settings - Fork 630
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
feat(node): add http.request #1712
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
node/internal/dtrace.ts
Outdated
DTRACE_HTTP_SERVER_RESPONSE, | ||
DTRACE_NET_SERVER_CONNECTION, | ||
DTRACE_NET_STREAM_END, | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume you copied this from node but we're never going to have dtrace support so you might as well simplify this file to always export stubs.
node/internal_binding/dtrace.ts
Outdated
} | ||
export function DTRACE_NET_STREAM_END() { | ||
notImplemented(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And remove this file (maybe config.ts too)
I'll continue working on a few more points:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM too, great work @kt3k
Thanks for your reviews! |
part of #1703
depends on #1706