jaguar_redirecter 2.4.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 49

jaguar_redirecter #

Plugin to perform HTTP to HTTPS redirection or redirection to another server.

HTTPS redirection #

  // HTTP to HTTPS redirecter
  final redir = Jaguar(port: 10000);
  redir.addRoute(httpsRedirecter());
  await redir.serve();

1.0.0 #

  • Initial version, created by Stagehand

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  jaguar_redirecter: ^2.4.1

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:jaguar_redirecter/jaguar_redirecter.dart';
  
Version Uploaded Documentation Archive
2.4.1 Sep 18, 2018 Go to the documentation of jaguar_redirecter 2.4.1 Download jaguar_redirecter 2.4.1 archive
2.2.0 Aug 15, 2018 Go to the documentation of jaguar_redirecter 2.2.0 Download jaguar_redirecter 2.2.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
95
Overall:
Weighted score of the above. [more]
49
Learn more about scoring.

We analyzed this package on Apr 23, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.2.0
  • pana: 0.12.14

Platforms

Detected platforms: Flutter, other

Primary library: package:jaguar_redirecter/jaguar_redirecter.dart with components: io.

Health suggestions

Fix lib/jaguar_redirecter.dart. (-1 points)

Analysis of lib/jaguar_redirecter.dart reported 2 hints:

line 15 col 17: Use = to separate a named parameter from its default value.

line 19 col 13: Use = to separate a named parameter from its default value.

Maintenance suggestions

Homepage URL is insecure. (-5 points)

Update the homepage field and use a secure (https) URL.

Maintain an example.

None of the files in the package's example/ directory matches known example patterns.

Common filename patterns include main.dart, example.dart, and jaguar_redirecter.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.65 <3.0.0
jaguar ^2.4.2 2.4.36
Transitive dependencies
auth_header 2.1.2
charcode 1.1.2
collection 1.14.11
convert 2.1.1
crypto 2.0.6
http_server 0.9.8+1
jaguar_common 2.1.4
jaguar_serializer 2.2.12
logging 0.11.3+2
meta 1.1.7
mime 0.9.6+2
path 1.6.2
path_tree 2.2.2
stack_trace 1.9.3
typed_data 1.1.6
Dev dependencies
test ^1.3.0