Skip to content
/ webfetch Public

A Dart implementation of the Web Fetch API that allows you to make requests and process results just like using fetch in a browser.

License

Notifications You must be signed in to change notification settings

medz/webfetch

Repository files navigation

Web Fetch

A Dart implementation of the Web Fetch API that allows you to make requests and process results just like using fetch in a browser.

Features

Usage

In your pubspec.yaml:

dependencies:
  webfetch: latest

In your Dart code:

import 'package:webfetch/webfetch.dart';

void main() async {
  final response = await fetch('https://example.com');
  final text = await response.text();
  print(text);
}

Documentation

The library is designed to be as close as possible to the Fetch API.

License

The MIT License (MIT). Please see License File for more information.

About

A Dart implementation of the Web Fetch API that allows you to make requests and process results just like using fetch in a browser.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages