https://github.com/pulyaevskiy/node-http
HTTP client powered by Node I/O for Dart
https://github.com/pulyaevskiy/node-http
Last synced: 3 months ago
JSON representation
HTTP client powered by Node I/O for Dart
- Host: GitHub
- URL: https://github.com/pulyaevskiy/node-http
- Owner: pulyaevskiy
- Created: 2018-01-29T23:54:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-30T00:06:56.000Z (over 7 years ago)
- Last Synced: 2025-01-07T16:44:20.146Z (5 months ago)
- Language: Dart
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# node_http
HTTP client using Node I/O system for Dart.
## Usage
A simple usage example:
```dart
import 'package:node_http/node_http.dart' as http;main() async {
// For one-off requests.
final response1 = await http.get('https://example.com/');
// To re-use socket connections:
final client = new http.NodeClient();
final response2 = await client.get('https://example.com/');
}
```## Features and bugs
Please file feature requests and bugs at the [issue tracker][tracker].
[tracker]: https://github.com/pulyaevskiy/node-http/issues