We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c100bb commit cb25f2aCopy full SHA for cb25f2a
javascript/ql/src/semmle/javascript/frameworks/NodeJSLib.qll
@@ -1063,6 +1063,18 @@ module NodeJSLib {
1063
}
1064
1065
1066
+ /**
1067
+ * An HTTP request event handler parameter as an EventEmitter, for
1068
+ * example the function `emitter` in either of the following:
1069
+ *
1070
+ * ```
1071
+ * http.request(x, emitter => {...})
1072
1073
1074
1075
+ * http.request(...).on(y, emitter => { ...})
1076
1077
+ */
1078
private class ClientRequestEventEmitter extends NodeJSEventEmitter {
1079
ClientRequestEventEmitter() {
1080
exists(ClientRequestHandler handler |
0 commit comments