dart-lang/sync_http

Name: sync_http

Owner: Dart

Description: null

Created: 2017-04-14 17:52:46.0

Updated: 2018-05-04 19:35:49.0

Pushed: 2018-05-19 17:20:17.0

Homepage: https://pub.dartlang.org/packages/sync_http

Size: 13

Language: Dart

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Dart Synchronous HTTP Client

Build Status pub package

Important Note: This package requires the RawSynchronousSocket class to work, which should become available in version 1.24 of the Dart SDK. If you really want to use this package now, you'll need to use the 1.24-dev SDK.

A simple Dart HTTP client implemented using RawSynchronousSockets to allow for synchronous HTTP requests.

Warning: This library should probably only be used to connect to HTTP servers that are hosted on 'localhost'. The operations in this library will block the calling thread to wait for a response from the HTTP server. The thread can process no other events while waiting for the server to respond. As such, this synchronous HTTP client library is not suitable for applications that require high performance. Instead, such applications should use libraries built on asynchronous I/O, including dart:io and package:http, for the best performance.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.