jaguar_static_file 0.2.0 copy "jaguar_static_file: ^0.2.0" to clipboard
jaguar_static_file: ^0.2.0 copied to clipboard

outdatedDart 1 only

Static file handler for jaguar

jaguar_static_file #

Usage #


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

@Api()
class MyApi extends _$MyApi {

      @Route(path: '/file', methods: const ["GET"])
      @WrapStaticFile()
      getFile() {
          return new JaguarFile("filePath");
      }

}
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Static file handler for jaguar

Homepage

License

unknown (LICENSE)

Dependencies

jaguar

More

Packages that depend on jaguar_static_file