パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v3.2.3

http_multi_server

複数のサーバーからのリクエストを処理する dart:io HttpServer のラッパー。

AndroidiOSmacOSWindowsLinux
30日間ダウンロード
1520万
いいね数
48
Pub ポイント
160

パッケージをインストール

flutter pub add http_multi_server

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

dart:io の HttpServer をラップして、複数のサーバーからの HTTP リクエストを同時に管理するための Dart パッケージです。複数のポートやアドレスでリスニングするための統合インターフェースを提供することで、サーバーの処理を簡素化し、開発ツールやテスト環境に最適です。パッケージは軽量であり、Dart の組み込みネットワーキング機能とシームレスに統合されます。モバイル、デスクトップ、サーバー環境を含むすべての主要プラットフォームをサポートしています。

用途

  • 複数の開発サーバーを実行中
  • 異なるエンドポイントを使用してWebアプリケーションをテストする
  • 埋め込みサーバーを使用したCLIツールの構築
  • プロキシまたはゲートウェイサービスの管理
  • 複数のポートからコンテンツを提供する

主な機能

  • 複数の同時HTTPサーバーをサポート
  • サーバーインスタンスを管理するためのシンプルな API
  • クロスプラットフォーム互換性
  • パフォーマンス向上のため dart:io をベースに構築
  • 開発およびテストワークフローに最適

適している対象

  • バックエンドツールを構築するDart開発者
  • テスト自動化エンジニア
  • CLI アプリケーション作成者
  • Webフレームワークのメンテナー
  • 開発環境のセットアップ

注意事項

  • 本番運用向けのWebアプリケーションには適していません
  • サーバーのライフサイクルを手動で管理する必要があります
  • HTTPプロトコルのみ対応(デフォルトではHTTPS非対応)
  • dart:io に依存しているため、Webブラウザには適していません
  • 制御された開発シナリオで最も効果的に使用される

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Build Status

A composable, Future-based library for making HTTP requests.

package:http contains a set of high-level functions and classes that make it easy to consume HTTP resources. It's multi-platform, and supports mobile, desktop, and the browser.

Packages

Package Description Version
cronet_http An Android Flutter plugin that provides access to the Cronet HTTP client. pub package
cupertino_http A macOS/iOS Flutter plugin that provides access to the Foundation URL Loading System. pub package
flutter_http_example An Flutter app that demonstrates how to configure and use package:http. —
http A composable, multi-platform, Future-based API for HTTP requests. pub package
http2 A HTTP/2 implementation in Dart. pub package
http_client_conformance_tests A library that tests whether implementations of package:http's Client class behave as expected.
http_multi_server A dart:io HttpServer wrapper that handles requests from multiple servers. pub package
http_parser A platform-independent package for parsing and serializing HTTP formats. pub package
http_profile A library used by HTTP client authors to integrate with the DevTools Network View. pub package
ok_http An Android Flutter plugin that provides access to the OkHttp HTTP client and the OkHttp WebSocket API. pub package
web_socket Any easy-to-use library for communicating with WebSockets that has multiple implementations. pub package
web_socket_channel StreamChannel wrappers for WebSockets. Provides a cross-platform WebSocketChannel API. package issues
web_socket_conformance_tests A library that tests whether implementations of package:web_socket's WebSocket class behave as expected.

Contributing

If you'd like to contribute to any of these packages, see the Contributing Guide.

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

このパッケージを使用しているプロジェクト