dart / 2.17.0 / dart-io / httpclientresponse / redirects.html /

redirects property

List< RedirectInfo> redirects

Returns the series of redirects this connection has been through. The list will be empty if no redirects were followed. redirects will be updated both in the case of an automatic and a manual redirect.

Implementation

List<RedirectInfo> get redirects;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.17.0/dart-io/HttpClientResponse/redirects.html