FLUTTER ECOSYSTEM

google/sync_http.dart

google/sync_http.dart open-source repository details.

sync_http.dart 專案封面
Stars
18
Forks
16
最近推送(UTC)
2026年8月1日
專案狀態
未封存
Google GitHub avatar
GITHUB Organization

Google ↗

Google ❤️ Open Source

United States of America官方網站 ↗
語言Dart

此儲存庫發佈的套件

使用的依賴

依賴清單 2 項
  • dart_flutter_team_lints開發依賴^3.0.0
  • test開發依賴^1.16.6

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

Dart CI pub package package publisher

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

Using this package

Note: this package is only intended for very specialized use cases. For general HTTP usage, please see instead package:http.

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.