패키지, 저장소 및 앱 카테고리 검색

패키지 상세v3.1.0

http2

Dart에서의 HTTP/2 구현.

AndroidiOSmacOSWindowsLinux
30일 다운로드
85.8만
좋아요
96
Pub 점수
150

패키지 설치

flutter pub add http2

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

HTTP/2 프로토콜의 다트 구현체로, 클라이언트와 서버 간에 고성능 및 멀티플렉스 통신을 가능하게 합니다. 플러터 및 기타 다트 애플리케이션에서 사용하기 위해 설계되었으며, 현대적인 웹 표준을 지원하고 효율적인 요청 처리 및 낮은 지연 시간을 제공합니다. 이 패키지는 공식 다트 HTTP 생태계의 일부이며 기존 HTTP 워크플로우와 원활하게 통합됩니다. 스트림 멀티플렉싱과 헤더 압축과 같은 HTTP/2의 고급 기능을 통해 더 빠른 네트워크 상호작용이 필요한 개발자를 위한 것입니다.

사용 사례

  • 고성능 API 클라이언트
  • 실시간 데이터 스트리밍
  • 효율적인 모바일 및 데스크톱 네트워킹
  • 웹 서비스의 지연 시간 감소
  • 다중 스트림 HTTP 통신

주요 기능

  • HTTP/2 멀티플렉싱을 지원합니다
  • 내장 헤더 압축
  • TLS를 통한 보안 연결
  • Dart의 HttpClient와의 통합
  • 가벼우면서도 모듈식 디자인

적합한 대상

  • 빠른 네트워크 앱을 개발하는 개발자
  • 병렬 요청이 필요한 앱
  • 현대 HTTP 프로토콜을 사용하는 프로젝트
  • 최적화된 네트워킹이 필요한 플러터 앱
  • 고처리량 백엔드 서비스

고려 사항

  • 완전한 HTTP/2 지원을 위해서는 TLS가 필요합니다
  • Dart 환경에만 제한됨
  • HTTP/1.1 전용 사용 사례에 적합하지 않습니다
  • 기반 플랫폼 네트워킹 스택에 따라 다름
  • 사용자 지정 서버를 위해 추가 구성이 필요할 수 있습니다

원본 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.

카테고리

의존성

의존성 목록 4 개

소스 저장소

이 패키지를 사용하는 프로젝트