dartness_server 0.2.0-alpha dartness_server: ^0.2.0-alpha copied to clipboard
Dartness is a framework for building efficient, scalable dart server-side applications. It provides an easy and quick way to develop modern standalone server.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dartness_server
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
dartness_server: ^0.2.0-alpha
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dartness_server/bind/annotation/bind.dart';
import 'package:dartness_server/bind/annotation/body.dart';
import 'package:dartness_server/bind/annotation/controller.dart';
import 'package:dartness_server/bind/annotation/delete.dart';
import 'package:dartness_server/bind/annotation/get.dart';
import 'package:dartness_server/bind/annotation/head.dart';
import 'package:dartness_server/bind/annotation/header.dart';
import 'package:dartness_server/bind/annotation/http_status.dart';
import 'package:dartness_server/bind/annotation/options.dart';
import 'package:dartness_server/bind/annotation/patch.dart';
import 'package:dartness_server/bind/annotation/path_param.dart';
import 'package:dartness_server/bind/annotation/post.dart';
import 'package:dartness_server/bind/annotation/put.dart';
import 'package:dartness_server/bind/annotation/query_param.dart';
import 'package:dartness_server/dartness.dart';
import 'package:dartness_server/route/dartness_router.dart';
import 'package:dartness_server/route/default_dartness_router.dart';
import 'package:dartness_server/route/router_handler.dart';
import 'package:dartness_server/server/dartness_pipeline.dart';
import 'package:dartness_server/server/dartness_server.dart';
import 'package:dartness_server/server/default_dartness_pipeline.dart';
import 'package:dartness_server/server/default_dartness_server.dart';
import 'package:dartness_server/string_utils.dart';