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

Dart package for testing HTTP requests and responses. Creates a simple HTTP server that responds with a specified response.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add http_test_server

With Flutter:

 $ flutter pub add http_test_server

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  http_test_server: ^0.1.0

Alternatively, 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:http_test_server/http_test_server.dart';
1
likes
160
points
137
downloads

Publisher

verified publisherfemrek.me

Weekly Downloads

Dart package for testing HTTP requests and responses. Creates a simple HTTP server that responds with a specified response.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on http_test_server