webhook 1.0.1
webhook: ^1.0.1 copied to clipboard
A tiny, dependency-free webhook server for Dart that routes requests by exact path + HTTP method, and lets you run shell scripts safely with cooldown and concurrency controls.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add webhookWith Flutter:
$ flutter pub add webhookThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
webhook: ^1.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:webhook/webhook.dart';