stream 1.7.0+3

  • Installing
  • Versions
  • 82


Stream is a Dart web server supporting request routing, filtering, template engine, WebSocket, MVC design pattern and file-based static resources.

Stream is distributed under an Apache 2.0 License.

Build Status


Add this to your pubspec.yaml (or create it):



Compile RSP (Rikulo Stream Page) to dart files

There are two ways to compile RSP files into dart files: automatic building with Dart Editor or manual compiling.

RSP is a template technology allowing developers to create dynamically generated web pages based on HTML, XML or other document types (such as this and this). Please refer to here for more information.

Build with Dart Editor

To compile your RSP files automatically, you just need to add a build.dart file in the root directory of your project, with the following content:

import 'package:stream/rspc.dart';
void main(List<String> arguments) {

With this build.dart script, whenever your RSP is modified, it will be re-compiled.

Compile Manually

To compile a RSP file manually, run rspc (RSP compiler) to compile it into the dart file with command line interface as follows:

tool/rspc.dart your-rsp-file(s)

A dart file is generated for each RSP file you gave.

Or, you can use a Bash program, tool/rspc, to detect any change of RSP files and compile them automatically.

Notes to Contributors

Fork Stream

If you'd like to contribute back to the core, you can fork this repository and send us a pull request, when it is ready.

Please be aware that one of Stream's design goals is to keep the sphere of API as neat and consistency as possible. Strong enhancement always demands greater consensus.

If you are new to Git or GitHub, please read this guide first.

Who Uses

  • Quire - a simple, collaborative, multi-level task management tool.

Use this package as a library

1. Depend on it

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

  stream: "^1.7.0+3"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

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

3. Import it

Now in your Dart code, you can use:

      import 'package:stream/stream.dart';
Version Uploaded Documentation Archive
1.7.0+3 Jun 22, 2018 Go to the documentation of stream 1.7.0+3 Download stream 1.7.0+3 archive
1.7.0+2 May 23, 2018 Go to the documentation of stream 1.7.0+2 Download stream 1.7.0+2 archive
1.7.0+1 May 22, 2018 Go to the documentation of stream 1.7.0+1 Download stream 1.7.0+1 archive
1.7.0 Mar 8, 2018 Go to the documentation of stream 1.7.0 Download stream 1.7.0 archive
1.6.9 Jan 26, 2018 Go to the documentation of stream 1.6.9 Download stream 1.6.9 archive
1.6.8+3 Jan 19, 2018 Go to the documentation of stream 1.6.8+3 Download stream 1.6.8+3 archive
1.6.8+2 Jul 26, 2017 Go to the documentation of stream 1.6.8+2 Download stream 1.6.8+2 archive
1.6.8 Apr 12, 2017 Go to the documentation of stream 1.6.8 Download stream 1.6.8 archive
1.6.7+1 Apr 11, 2017 Go to the documentation of stream 1.6.7+1 Download stream 1.6.7+1 archive
1.6.7 Mar 23, 2017 Go to the documentation of stream 1.6.7 Download stream 1.6.7 archive

All 113 versions...


We analyzed this package on Jun 22, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3


Describes how popular the package is relative to other packages. [more]
75 / 100
Code health derived from static analysis. [more]
98 / 100
Reflects how tidy and up-to-date the package is. [more]
75 / 100
Overall score:
Weighted score of the above. [more]
Learn more about scoring.


Detected platforms: other

Primary library: package:stream/stream.dart with components: io, mirrors.


  • Maintain

    Changelog entries help clients to follow the progress in your code.

  • Use constrained dependencies.

    The pubspec.yaml contains 4 dependencies without version constraints. Specify version ranges for the following dependencies: args, http, logging, path.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 67 hints.

    Strong-mode analysis of lib/proxy.dart gave the following hint:

    line: 105 col: 50
    'CONTENT_LENGTH' is deprecated and shouldn't be used.

    Run dartfmt to format lib/src/connect.dart.

    Similar analysis of the following files failed:

    • lib/src/connect_impl.dart (hint)
    • lib/src/plugin/loader.dart (hint)
    • lib/src/plugin/loader_impl.dart (hint)
    • lib/src/plugin/router.dart (hint)
    • lib/src/rsp_util.dart (hint)
    • lib/src/rspc/build.dart (hint)
    • lib/src/rspc/compiler.dart (hint)
    • lib/src/rspc/main.dart (hint)
    • lib/src/rspc/tag.dart (hint)
    • lib/src/rspc/tag_util.dart (hint)
    • lib/src/server.dart (hint)
    • lib/src/server_impl.dart (hint)
    • lib/stream.dart (hint)
  • Maintain an example.

    None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use stream.dart.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.9.0 <3.0.0
args any 1.4.3
http any 0.11.3+16
logging any 0.11.3+1
path any 1.6.1
rikulo_commons >=2.0.0 <3.0.0 2.3.8+1
Transitive dependencies
async 2.0.7
charcode 1.1.1
collection 1.14.10
http_parser 3.1.2
mime 0.9.6+1
source_span 1.4.0
string_scanner 1.0.2
typed_data 1.1.5