jaguar_gzip 0.5.1 copy "jaguar_gzip: ^0.5.1" to clipboard
jaguar_gzip: ^0.5.1 copied to clipboard

Dart 1 only

Gzip compressor interceptors for Jaguar

jaguar_gzip #

Gzip compressor interceptors for Jaguar

Usage #

A simple usage example:

import 'package:jaguar_gzip/jaguar_gzip.dart';
import 'package:jaguar/jaguar.dart';
import 'package:jaguar_reflect/jaguar_reflect.dart';
import 'package:jaguar_static_file/jaguar_static_file.dart';

@Api(path: '/api')
class ExampleApi {
  @WrapGzipStream()
  @WrapStaticFile()
  @Get(path: '/hello.txt')
  Response<JaguarFile> getHelloTxt() =>
      new Response<JaguarFile>(new JaguarFile('example/data/hello.txt'));
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

Gzip compressor interceptors for Jaguar

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

jaguar

More

Packages that depend on jaguar_gzip