dsb_server 0.1.0 copy "dsb_server: ^0.1.0" to clipboard
dsb_server: ^0.1.0 copied to clipboard

outdated

This package allows you to trivially create a DSB/DSBMobile server.

example/main.dart

import 'dart:io';

import 'package:dsb_server/dsb_server.dart';
import 'package:shelf/shelf_io.dart';

void main() => serve(
      dsbHandler(
          generateAuthid: (_, __, ___, ____, _____) async => '000-000',
          getContent: (path, authid) async => path),
      InternetAddress.loopbackIPv6,
      0,
    ).then((server) => print(server.port));
0
likes
0
pub points
0%
popularity

Publisher

verified publisherampless.chrissx.de

This package allows you to trivially create a DSB/DSBMobile server.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

shelf

More

Packages that depend on dsb_server