File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
javascript/ql/src/semmle/javascript/frameworks Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -214,9 +214,9 @@ module HTTP {
214
214
}
215
215
216
216
/**
217
- * Gets a request object originating from this route handler.
217
+ * Gets a response object originating from this route handler.
218
218
*
219
- * Use `RequestSource .ref()` to get reference to this request object.
219
+ * Use `ResponseSource .ref()` to get reference to this response object.
220
220
*/
221
221
final Servers:: ResponseSource getAResponseSource ( ) {
222
222
result .getRouteHandler ( ) = this
@@ -343,6 +343,7 @@ module HTTP {
343
343
abstract RouteHandler getRouteHandler ( ) ;
344
344
345
345
/** DEPRECATED. Use `ref().flowsTo()` instead. */
346
+ deprecated
346
347
predicate flowsTo ( DataFlow:: Node nd ) { ref ( ) .flowsTo ( nd ) }
347
348
348
349
private DataFlow:: SourceNode ref ( DataFlow:: TypeTracker t ) {
You can’t perform that action at this time.
0 commit comments