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 {
214214 }
215215
216216 /**
217- * Gets a request object originating from this route handler.
217+ * Gets a response object originating from this route handler.
218218 *
219- * Use `RequestSource .ref()` to get reference to this request object.
219+ * Use `ResponseSource .ref()` to get reference to this response object.
220220 */
221221 final Servers:: ResponseSource getAResponseSource ( ) {
222222 result .getRouteHandler ( ) = this
@@ -343,6 +343,7 @@ module HTTP {
343343 abstract RouteHandler getRouteHandler ( ) ;
344344
345345 /** DEPRECATED. Use `ref().flowsTo()` instead. */
346+ deprecated
346347 predicate flowsTo ( DataFlow:: Node nd ) { ref ( ) .flowsTo ( nd ) }
347348
348349 private DataFlow:: SourceNode ref ( DataFlow:: TypeTracker t ) {
You can’t perform that action at this time.
0 commit comments