├── pkgs
├── cupertino_http
│ ├── .gitignore
│ ├── example
│ │ ├── ios
│ │ │ ├── Runner
│ │ │ │ ├── Runner-Bridging-Header.h
│ │ │ │ ├── Assets.xcassets
│ │ │ │ │ ├── LaunchImage.imageset
│ │ │ │ │ │ ├── LaunchImage.png
│ │ │ │ │ │ ├── LaunchImage@2x.png
│ │ │ │ │ │ ├── LaunchImage@3x.png
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ └── Contents.json
│ │ │ │ │ └── AppIcon.appiconset
│ │ │ │ │ │ ├── Icon-App-20x20@1x.png
│ │ │ │ │ │ ├── Icon-App-20x20@2x.png
│ │ │ │ │ │ ├── Icon-App-20x20@3x.png
│ │ │ │ │ │ ├── Icon-App-29x29@1x.png
│ │ │ │ │ │ ├── Icon-App-29x29@2x.png
│ │ │ │ │ │ ├── Icon-App-29x29@3x.png
│ │ │ │ │ │ ├── Icon-App-40x40@1x.png
│ │ │ │ │ │ ├── Icon-App-40x40@2x.png
│ │ │ │ │ │ ├── Icon-App-40x40@3x.png
│ │ │ │ │ │ ├── Icon-App-60x60@2x.png
│ │ │ │ │ │ ├── Icon-App-60x60@3x.png
│ │ │ │ │ │ ├── Icon-App-76x76@1x.png
│ │ │ │ │ │ ├── Icon-App-76x76@2x.png
│ │ │ │ │ │ ├── Icon-App-1024x1024@1x.png
│ │ │ │ │ │ └── Icon-App-83.5x83.5@2x.png
│ │ │ │ └── AppDelegate.swift
│ │ │ ├── Flutter
│ │ │ │ ├── Debug.xcconfig
│ │ │ │ ├── Release.xcconfig
│ │ │ │ └── AppFrameworkInfo.plist
│ │ │ ├── Runner.xcodeproj
│ │ │ │ └── project.xcworkspace
│ │ │ │ │ ├── contents.xcworkspacedata
│ │ │ │ │ └── xcshareddata
│ │ │ │ │ ├── WorkspaceSettings.xcsettings
│ │ │ │ │ └── IDEWorkspaceChecks.plist
│ │ │ ├── Runner.xcworkspace
│ │ │ │ ├── contents.xcworkspacedata
│ │ │ │ └── xcshareddata
│ │ │ │ │ ├── WorkspaceSettings.xcsettings
│ │ │ │ │ └── IDEWorkspaceChecks.plist
│ │ │ └── .gitignore
│ │ ├── README.md
│ │ ├── macos
│ │ │ ├── Runner
│ │ │ │ ├── Configs
│ │ │ │ │ ├── Debug.xcconfig
│ │ │ │ │ ├── Release.xcconfig
│ │ │ │ │ ├── Warnings.xcconfig
│ │ │ │ │ └── AppInfo.xcconfig
│ │ │ │ ├── Assets.xcassets
│ │ │ │ │ └── AppIcon.appiconset
│ │ │ │ │ │ ├── app_icon_16.png
│ │ │ │ │ │ ├── app_icon_32.png
│ │ │ │ │ │ ├── app_icon_64.png
│ │ │ │ │ │ ├── app_icon_1024.png
│ │ │ │ │ │ ├── app_icon_128.png
│ │ │ │ │ │ ├── app_icon_256.png
│ │ │ │ │ │ └── app_icon_512.png
│ │ │ │ ├── Release.entitlements
│ │ │ │ ├── AppDelegate.swift
│ │ │ │ ├── MainFlutterWindow.swift
│ │ │ │ ├── DebugProfile.entitlements
│ │ │ │ └── Info.plist
│ │ │ ├── .gitignore
│ │ │ ├── Flutter
│ │ │ │ ├── Flutter-Debug.xcconfig
│ │ │ │ └── Flutter-Release.xcconfig
│ │ │ ├── Runner.xcworkspace
│ │ │ │ ├── contents.xcworkspacedata
│ │ │ │ └── xcshareddata
│ │ │ │ │ └── IDEWorkspaceChecks.plist
│ │ │ └── Runner.xcodeproj
│ │ │ │ └── project.xcworkspace
│ │ │ │ └── xcshareddata
│ │ │ │ └── IDEWorkspaceChecks.plist
│ │ ├── integration_test
│ │ │ └── web_socket_test.dart
│ │ ├── .gitignore
│ │ ├── lib
│ │ │ └── book.dart
│ │ └── pubspec.yaml
│ ├── .gitattributes
│ ├── pubspec.yaml
│ └── DEVELOPMENT.md
├── cronet_http
│ ├── .gitignore
│ ├── .gitattributes
│ ├── example
│ │ ├── README.md
│ │ ├── android
│ │ │ ├── gradle.properties
│ │ │ ├── app
│ │ │ │ └── src
│ │ │ │ │ ├── main
│ │ │ │ │ ├── res
│ │ │ │ │ │ ├── mipmap-hdpi
│ │ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ │ ├── mipmap-mdpi
│ │ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ │ ├── mipmap-xhdpi
│ │ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ │ ├── drawable
│ │ │ │ │ │ │ └── launch_background.xml
│ │ │ │ │ │ ├── drawable-v21
│ │ │ │ │ │ │ └── launch_background.xml
│ │ │ │ │ │ ├── values
│ │ │ │ │ │ │ └── styles.xml
│ │ │ │ │ │ └── values-night
│ │ │ │ │ │ │ └── styles.xml
│ │ │ │ │ └── kotlin
│ │ │ │ │ │ └── io
│ │ │ │ │ │ └── flutter
│ │ │ │ │ │ └── cronet_http_example
│ │ │ │ │ │ └── MainActivity.kt
│ │ │ │ │ ├── debug
│ │ │ │ │ └── AndroidManifest.xml
│ │ │ │ │ └── profile
│ │ │ │ │ └── AndroidManifest.xml
│ │ │ ├── gradle
│ │ │ │ └── wrapper
│ │ │ │ │ └── gradle-wrapper.properties
│ │ │ ├── .gitignore
│ │ │ ├── build.gradle
│ │ │ └── settings.gradle
│ │ ├── pubspec.yaml
│ │ ├── .gitignore
│ │ └── lib
│ │ │ └── book.dart
│ ├── android
│ │ ├── .gitignore
│ │ ├── src
│ │ │ └── main
│ │ │ │ └── AndroidManifest.xml
│ │ ├── consumer-rules.pro
│ │ └── settings.gradle
│ ├── analysis_options.yaml
│ ├── jnigen.yaml
│ ├── pubspec.yaml
│ └── .metadata
├── flutter_http_example
│ ├── linux
│ │ ├── .gitignore
│ │ ├── main.cc
│ │ ├── flutter
│ │ │ ├── generated_plugin_registrant.cc
│ │ │ ├── generated_plugin_registrant.h
│ │ │ └── generated_plugins.cmake
│ │ └── my_application.h
│ ├── ios
│ │ ├── Runner
│ │ │ ├── Runner-Bridging-Header.h
│ │ │ ├── Assets.xcassets
│ │ │ │ ├── LaunchImage.imageset
│ │ │ │ │ ├── LaunchImage.png
│ │ │ │ │ ├── LaunchImage@2x.png
│ │ │ │ │ ├── LaunchImage@3x.png
│ │ │ │ │ ├── README.md
│ │ │ │ │ └── Contents.json
│ │ │ │ └── AppIcon.appiconset
│ │ │ │ │ ├── Icon-App-20x20@1x.png
│ │ │ │ │ ├── Icon-App-20x20@2x.png
│ │ │ │ │ ├── Icon-App-20x20@3x.png
│ │ │ │ │ ├── Icon-App-29x29@1x.png
│ │ │ │ │ ├── Icon-App-29x29@2x.png
│ │ │ │ │ ├── Icon-App-29x29@3x.png
│ │ │ │ │ ├── Icon-App-40x40@1x.png
│ │ │ │ │ ├── Icon-App-40x40@2x.png
│ │ │ │ │ ├── Icon-App-40x40@3x.png
│ │ │ │ │ ├── Icon-App-60x60@2x.png
│ │ │ │ │ ├── Icon-App-60x60@3x.png
│ │ │ │ │ ├── Icon-App-76x76@1x.png
│ │ │ │ │ ├── Icon-App-76x76@2x.png
│ │ │ │ │ ├── Icon-App-1024x1024@1x.png
│ │ │ │ │ └── Icon-App-83.5x83.5@2x.png
│ │ │ └── AppDelegate.swift
│ │ ├── Flutter
│ │ │ ├── Debug.xcconfig
│ │ │ ├── Release.xcconfig
│ │ │ └── AppFrameworkInfo.plist
│ │ ├── Runner.xcodeproj
│ │ │ └── project.xcworkspace
│ │ │ │ ├── contents.xcworkspacedata
│ │ │ │ └── xcshareddata
│ │ │ │ ├── WorkspaceSettings.xcsettings
│ │ │ │ └── IDEWorkspaceChecks.plist
│ │ ├── Runner.xcworkspace
│ │ │ ├── contents.xcworkspacedata
│ │ │ └── xcshareddata
│ │ │ │ ├── WorkspaceSettings.xcsettings
│ │ │ │ └── IDEWorkspaceChecks.plist
│ │ ├── RunnerTests
│ │ │ └── RunnerTests.swift
│ │ └── .gitignore
│ ├── web
│ │ ├── favicon.png
│ │ ├── icons
│ │ │ ├── Icon-192.png
│ │ │ ├── Icon-512.png
│ │ │ ├── Icon-maskable-192.png
│ │ │ └── Icon-maskable-512.png
│ │ └── manifest.json
│ ├── android
│ │ ├── gradle.properties
│ │ ├── app
│ │ │ └── src
│ │ │ │ ├── main
│ │ │ │ ├── res
│ │ │ │ │ ├── mipmap-hdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── mipmap-mdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── mipmap-xhdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── drawable
│ │ │ │ │ │ └── launch_background.xml
│ │ │ │ │ ├── drawable-v21
│ │ │ │ │ │ └── launch_background.xml
│ │ │ │ │ ├── values
│ │ │ │ │ │ └── styles.xml
│ │ │ │ │ └── values-night
│ │ │ │ │ │ └── styles.xml
│ │ │ │ └── kotlin
│ │ │ │ │ └── com
│ │ │ │ │ └── example
│ │ │ │ │ └── flutter_http_example
│ │ │ │ │ └── MainActivity.kt
│ │ │ │ ├── debug
│ │ │ │ └── AndroidManifest.xml
│ │ │ │ └── profile
│ │ │ │ └── AndroidManifest.xml
│ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ └── gradle-wrapper.properties
│ │ ├── .gitignore
│ │ ├── build.gradle
│ │ └── settings.gradle
│ ├── macos
│ │ ├── Runner
│ │ │ ├── Configs
│ │ │ │ ├── Debug.xcconfig
│ │ │ │ ├── Release.xcconfig
│ │ │ │ ├── Warnings.xcconfig
│ │ │ │ └── AppInfo.xcconfig
│ │ │ ├── Assets.xcassets
│ │ │ │ └── AppIcon.appiconset
│ │ │ │ │ ├── app_icon_16.png
│ │ │ │ │ ├── app_icon_32.png
│ │ │ │ │ ├── app_icon_64.png
│ │ │ │ │ ├── app_icon_1024.png
│ │ │ │ │ ├── app_icon_128.png
│ │ │ │ │ ├── app_icon_256.png
│ │ │ │ │ └── app_icon_512.png
│ │ │ ├── AppDelegate.swift
│ │ │ ├── Release.entitlements
│ │ │ ├── MainFlutterWindow.swift
│ │ │ └── DebugProfile.entitlements
│ │ ├── .gitignore
│ │ ├── Flutter
│ │ │ ├── Flutter-Debug.xcconfig
│ │ │ ├── Flutter-Release.xcconfig
│ │ │ └── GeneratedPluginRegistrant.swift
│ │ ├── Runner.xcworkspace
│ │ │ ├── contents.xcworkspacedata
│ │ │ └── xcshareddata
│ │ │ │ └── IDEWorkspaceChecks.plist
│ │ ├── Runner.xcodeproj
│ │ │ └── project.xcworkspace
│ │ │ │ └── xcshareddata
│ │ │ │ └── IDEWorkspaceChecks.plist
│ │ └── RunnerTests
│ │ │ └── RunnerTests.swift
│ ├── windows
│ │ ├── runner
│ │ │ ├── resources
│ │ │ │ └── app_icon.ico
│ │ │ ├── resource.h
│ │ │ ├── utils.h
│ │ │ ├── runner.exe.manifest
│ │ │ └── flutter_window.h
│ │ ├── flutter
│ │ │ ├── generated_plugin_registrant.cc
│ │ │ ├── generated_plugin_registrant.h
│ │ │ └── generated_plugins.cmake
│ │ └── .gitignore
│ ├── mono_pkg.yaml
│ ├── lib
│ │ ├── http_client_factory_web.dart
│ │ └── book.dart
│ ├── pubspec.yaml
│ └── .gitignore
├── ok_http
│ ├── android
│ │ ├── settings.gradle
│ │ ├── src
│ │ │ └── main
│ │ │ │ └── AndroidManifest.xml
│ │ └── .gitignore
│ ├── example
│ │ ├── test_certs
│ │ │ ├── server_key.p12
│ │ │ ├── server_chain.p12
│ │ │ ├── test-combined.p12
│ │ │ └── README.md
│ │ ├── android
│ │ │ ├── gradle.properties
│ │ │ ├── app
│ │ │ │ └── src
│ │ │ │ │ ├── main
│ │ │ │ │ ├── res
│ │ │ │ │ │ ├── mipmap-hdpi
│ │ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ │ ├── mipmap-mdpi
│ │ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ │ ├── mipmap-xhdpi
│ │ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ │ ├── drawable
│ │ │ │ │ │ │ └── launch_background.xml
│ │ │ │ │ │ ├── drawable-v21
│ │ │ │ │ │ │ └── launch_background.xml
│ │ │ │ │ │ ├── values
│ │ │ │ │ │ │ └── styles.xml
│ │ │ │ │ │ └── values-night
│ │ │ │ │ │ │ └── styles.xml
│ │ │ │ │ └── kotlin
│ │ │ │ │ │ └── com
│ │ │ │ │ │ └── example
│ │ │ │ │ │ └── ok_http_example
│ │ │ │ │ │ └── MainActivity.kt
│ │ │ │ │ ├── debug
│ │ │ │ │ └── AndroidManifest.xml
│ │ │ │ │ └── profile
│ │ │ │ │ └── AndroidManifest.xml
│ │ │ ├── gradle
│ │ │ │ └── wrapper
│ │ │ │ │ └── gradle-wrapper.properties
│ │ │ ├── .gitignore
│ │ │ ├── build.gradle
│ │ │ └── settings.gradle
│ │ ├── integration_test
│ │ │ └── web_socket_test.dart
│ │ ├── README.md
│ │ ├── .gitignore
│ │ ├── lib
│ │ │ └── book.dart
│ │ └── pubspec.yaml
│ ├── .gitignore
│ ├── pubspec.yaml
│ └── .metadata
├── web_socket_channel
│ ├── .gitignore
│ ├── lib
│ │ ├── web_socket_channel.dart
│ │ └── src
│ │ │ └── exception.dart
│ ├── pubspec.yaml
│ ├── example
│ │ └── example.dart
│ └── analysis_options.yaml
├── http2
│ ├── .test_config
│ ├── dart_test.yaml
│ ├── .gitignore
│ ├── AUTHORS
│ ├── analysis_options.yaml
│ ├── lib
│ │ └── src
│ │ │ ├── frames
│ │ │ ├── frame_utils.dart
│ │ │ └── frames.dart
│ │ │ └── flowcontrol
│ │ │ └── window.dart
│ ├── pubspec.yaml
│ └── test
│ │ └── src
│ │ ├── error_matchers.dart
│ │ ├── frames
│ │ └── frame_writer_test.dart
│ │ └── flowcontrol
│ │ └── mocks.dart
├── http_multi_server
│ ├── .test_config
│ ├── .gitignore
│ ├── tools
│ │ ├── openssl.cfg
│ │ └── regenerate_cert.sh
│ ├── pubspec.yaml
│ ├── example
│ │ └── main.dart
│ ├── analysis_options.yaml
│ └── lib
│ │ └── src
│ │ └── utils.dart
├── http_parser
│ ├── .gitignore
│ ├── lib
│ │ ├── http_parser.dart
│ │ └── src
│ │ │ ├── chunked_coding
│ │ │ └── charcodes.dart
│ │ │ ├── utils.dart
│ │ │ └── case_insensitive_map.dart
│ ├── pubspec.yaml
│ ├── example
│ │ └── example.dart
│ ├── test
│ │ └── example_test.dart
│ ├── analysis_options.yaml
│ └── README.md
├── http_client_conformance_tests
│ ├── .gitattributes
│ ├── mono_pkg.yaml
│ ├── lib
│ │ └── src
│ │ │ ├── multipart_server_web.dart
│ │ │ ├── redirect_server_web.dart
│ │ │ ├── request_body_server_web.dart
│ │ │ ├── request_cookies_server_web.dart
│ │ │ ├── request_headers_server_web.dart
│ │ │ ├── request_methods_server_web.dart
│ │ │ ├── response_body_server_web.dart
│ │ │ ├── server_errors_server_web.dart
│ │ │ ├── multiple_clients_server_web.dart
│ │ │ ├── response_cookies_server_web.dart
│ │ │ ├── response_headers_server_web.dart
│ │ │ ├── server_queue_helpers.dart
│ │ │ ├── abort_server_vm.dart
│ │ │ ├── redirect_server_vm.dart
│ │ │ ├── abort_server_web.dart
│ │ │ ├── multipart_server_vm.dart
│ │ │ ├── request_body_streamed_server_web.dart
│ │ │ ├── response_status_line_server_web.dart
│ │ │ ├── request_body_server_vm.dart
│ │ │ ├── response_body_server_vm.dart
│ │ │ ├── response_body_streamed_server_web.dart
│ │ │ ├── server_errors_server_vm.dart
│ │ │ ├── compressed_response_body_server_web.dart
│ │ │ ├── request_cookies_server_vm.dart
│ │ │ ├── request_headers_server_vm.dart
│ │ │ ├── request_methods_server_vm.dart
│ │ │ ├── multiple_clients_server_vm.dart
│ │ │ ├── response_cookies_server_vm.dart
│ │ │ ├── response_headers_server_vm.dart
│ │ │ ├── response_status_line_server_vm.dart
│ │ │ ├── request_body_streamed_server_vm.dart
│ │ │ ├── response_body_streamed_server_vm.dart
│ │ │ ├── compressed_response_body_server_vm.dart
│ │ │ ├── dummy_isolate.dart
│ │ │ └── server_errors_server.dart
│ ├── pubspec.yaml
│ └── example
│ │ └── client_test.dart
├── web_socket_conformance_tests
│ ├── .gitattributes
│ ├── mono_pkg.yaml
│ ├── lib
│ │ └── src
│ │ │ ├── echo_server_web.dart
│ │ │ ├── protocol_server_web.dart
│ │ │ ├── no_upgrade_server_web.dart
│ │ │ ├── close_local_server_web.dart
│ │ │ ├── close_remote_server_web.dart
│ │ │ ├── continuously_writing_server_web.dart
│ │ │ ├── peer_protocol_errors_server_web.dart
│ │ │ ├── echo_server_vm.dart
│ │ │ ├── protocol_server_vm.dart
│ │ │ ├── no_upgrade_server_vm.dart
│ │ │ ├── close_local_server_vm.dart
│ │ │ ├── close_remote_server_vm.dart
│ │ │ ├── disconnect_after_upgrade_server_web.dart
│ │ │ ├── continuously_writing_server_vm.dart
│ │ │ ├── peer_protocol_errors_server_vm.dart
│ │ │ ├── disconnect_after_upgrade_server_vm.dart
│ │ │ ├── connect_uri_tests.dart
│ │ │ ├── echo_server.dart
│ │ │ ├── no_upgrade_server.dart
│ │ │ └── continuously_writing_server.dart
│ └── pubspec.yaml
├── http_profile
│ ├── CHANGELOG.md
│ ├── mono_pkg.yaml
│ ├── lib
│ │ ├── http_profile.dart
│ │ └── src
│ │ │ └── http_profile.dart
│ └── pubspec.yaml
├── web_socket
│ ├── lib
│ │ ├── web_socket.dart
│ │ ├── testing.dart
│ │ ├── io_web_socket.dart
│ │ ├── browser_web_socket.dart
│ │ └── src
│ │ │ ├── connect_stub.dart
│ │ │ └── utils.dart
│ ├── mono_pkg.yaml
│ ├── test
│ │ ├── websocket_test.dart
│ │ ├── io_web_socket_conformance_test.dart
│ │ └── browser_web_socket_conformance_test.dart
│ ├── pubspec.yaml
│ └── CHANGELOG.md
└── http
│ ├── lib
│ ├── browser_client.dart
│ ├── io_client.dart
│ ├── src
│ │ ├── client_stub.dart
│ │ ├── multipart_file_stub.dart
│ │ ├── exception.dart
│ │ └── multipart_file_io.dart
│ └── testing.dart
│ ├── test
│ ├── html
│ │ ├── utils.dart
│ │ └── client_conformance_test.dart
│ ├── no_default_http_client_test.dart
│ ├── io
│ │ └── client_conformance_test.dart
│ └── streamed_request_test.dart
│ ├── example
│ ├── retry.dart
│ └── main.dart
│ ├── pubspec.yaml
│ └── mono_pkg.yaml
├── .gitattributes
├── .github
├── ISSUE_TEMPLATE
│ ├── http2.md
│ ├── http_parser.md
│ ├── http_multi_server.md
│ ├── web_socket_channel.md
│ ├── 4--package-cronet_http---i-found-a-bug.md
│ ├── 6--package-cupertino_http---i-found-a-bug.md
│ ├── 3--package-http---i-d-like-a-new-feature.md
│ ├── 5--package-cronet_http---i-d-like-a-new-feature.md
│ ├── 7--package-cupertino_http---i-d-like-a-new-feature.md
│ └── 2--package-http---i-found-a-bug.md
├── dependabot.yml
└── workflows
│ ├── health.yaml
│ ├── post_summaries.yaml
│ ├── publish.yaml
│ └── pull_request_label.yml
├── mono_repo.yaml
└── analysis_options.yaml
/pkgs/cupertino_http/.gitignore:
--------------------------------------------------------------------------------
1 | build/
2 |
--------------------------------------------------------------------------------
/pkgs/cronet_http/.gitignore:
--------------------------------------------------------------------------------
1 | build/
2 | .gradle/
3 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/linux/.gitignore:
--------------------------------------------------------------------------------
1 | flutter/ephemeral
2 |
--------------------------------------------------------------------------------
/pkgs/ok_http/android/settings.gradle:
--------------------------------------------------------------------------------
1 | rootProject.name = 'ok_http'
2 |
--------------------------------------------------------------------------------
/pkgs/web_socket_channel/.gitignore:
--------------------------------------------------------------------------------
1 | .dart_tool/
2 | .packages
3 | pubspec.lock
4 |
--------------------------------------------------------------------------------
/pkgs/http2/.test_config:
--------------------------------------------------------------------------------
1 | {
2 | "test_package": {
3 | "platforms" : ["vm"]
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/pkgs/http2/dart_test.yaml:
--------------------------------------------------------------------------------
1 | tags:
2 | flaky: # Tests that should be run as a separate job on Travis
3 |
--------------------------------------------------------------------------------
/pkgs/http_multi_server/.test_config:
--------------------------------------------------------------------------------
1 | {
2 | "test_package": {
3 | "platforms": ["vm"]
4 | }
5 | }
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/pkgs/cronet_http/.gitattributes:
--------------------------------------------------------------------------------
1 | # jnigen generated code
2 | lib/src/jni/jni_bindings.dart linguist-generated
3 |
--------------------------------------------------------------------------------
/pkgs/cronet_http/example/README.md:
--------------------------------------------------------------------------------
1 | # cronet_http_example
2 |
3 | Demonstrates how to use the cronet_http plugin.
4 |
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/README.md:
--------------------------------------------------------------------------------
1 | # cupertino_http_example
2 |
3 | Demonstrates how to use the cupertino_http plugin.
4 |
--------------------------------------------------------------------------------
/pkgs/http2/.gitignore:
--------------------------------------------------------------------------------
1 | # Don’t commit the following directories created by pub.
2 | .dart_tool
3 | .packages
4 | pubspec.lock
5 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/web/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/web/favicon.png
--------------------------------------------------------------------------------
/pkgs/http_parser/.gitignore:
--------------------------------------------------------------------------------
1 | # Don’t commit the following directories created by pub.
2 | .dart_tool/
3 | .packages
4 | pubspec.lock
5 |
--------------------------------------------------------------------------------
/pkgs/ok_http/example/test_certs/server_key.p12:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/ok_http/example/test_certs/server_key.p12
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/macos/Runner/Configs/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "../../Flutter/Flutter-Debug.xcconfig"
2 | #include "Warnings.xcconfig"
3 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/macos/Runner/Configs/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "../../Flutter/Flutter-Debug.xcconfig"
2 | #include "Warnings.xcconfig"
3 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/web/icons/Icon-192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/web/icons/Icon-192.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/web/icons/Icon-512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/web/icons/Icon-512.png
--------------------------------------------------------------------------------
/pkgs/ok_http/example/test_certs/server_chain.p12:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/ok_http/example/test_certs/server_chain.p12
--------------------------------------------------------------------------------
/pkgs/ok_http/example/test_certs/test-combined.p12:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/ok_http/example/test_certs/test-combined.p12
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | .github/workflows/dart.yml linguist-generated=true
2 | tool/ci.sh linguist-generated=true
3 | pkgs/*/.metadata linguist-generated=true
4 |
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/macos/Runner/Configs/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "../../Flutter/Flutter-Release.xcconfig"
2 | #include "Warnings.xcconfig"
3 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/macos/Runner/Configs/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "../../Flutter/Flutter-Release.xcconfig"
2 | #include "Warnings.xcconfig"
3 |
--------------------------------------------------------------------------------
/pkgs/http_client_conformance_tests/.gitattributes:
--------------------------------------------------------------------------------
1 | lib/src/*_server_vm.dart linguist-generated=true
2 | lib/src/*_server_web.dart linguist-generated=true
3 |
--------------------------------------------------------------------------------
/pkgs/web_socket_conformance_tests/.gitattributes:
--------------------------------------------------------------------------------
1 | lib/src/*_server_vm.dart linguist-generated=true
2 | lib/src/*_server_web.dart linguist-generated=true
3 |
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/macos/.gitignore:
--------------------------------------------------------------------------------
1 | # Flutter-related
2 | **/Flutter/ephemeral/
3 | **/Pods/
4 |
5 | # Xcode-related
6 | **/dgph
7 | **/xcuserdata/
8 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/macos/.gitignore:
--------------------------------------------------------------------------------
1 | # Flutter-related
2 | **/Flutter/ephemeral/
3 | **/Pods/
4 |
5 | # Xcode-related
6 | **/dgph
7 | **/xcuserdata/
8 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/web/icons/Icon-maskable-192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/web/icons/Icon-maskable-192.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/web/icons/Icon-maskable-512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/web/icons/Icon-maskable-512.png
--------------------------------------------------------------------------------
/pkgs/http_profile/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | ## 0.1.1-wip
2 |
3 | * Fixed unintended HTML tags in doc comments.
4 |
5 | ## 0.1.0
6 |
7 | * Initial **experimental** release.
8 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/http2.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: "package:http2"
3 | about: "Create a bug or file a feature request against package:http2."
4 | labels: "package:http2"
5 | ---
--------------------------------------------------------------------------------
/pkgs/cronet_http/example/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx12800M
2 | org.gradle.caching=true
3 | android.useAndroidX=true
4 | android.enableJetifier=true
5 |
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/pkgs/ok_http/example/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx4G -XX:+HeapDumpOnOutOfMemoryError
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/windows/runner/resources/app_icon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/windows/runner/resources/app_icon.ico
--------------------------------------------------------------------------------
/pkgs/ok_http/android/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
--------------------------------------------------------------------------------
/pkgs/cronet_http/android/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .cxx
10 |
--------------------------------------------------------------------------------
/pkgs/ok_http/android/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .cxx
10 |
--------------------------------------------------------------------------------
/pkgs/cronet_http/android/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/http_parser.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: "package:http_parser"
3 | about: "Create a bug or file a feature request against package:http_parser."
4 | labels: "package:http_parser"
5 | ---
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/macos/Flutter/Flutter-Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2 | #include "ephemeral/Flutter-Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/macos/Flutter/Flutter-Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2 | #include "ephemeral/Flutter-Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/pkgs/ok_http/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/ok_http/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/pkgs/ok_http/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/ok_http/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/pkgs/ok_http/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/ok_http/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/pkgs/ok_http/example/test_certs/README.md:
--------------------------------------------------------------------------------
1 | # Certificates
2 |
3 | The certificates and private keys used for `package:ok_http` TLS testing.
4 |
5 | TODO: generate these files using a script.
6 |
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/macos/Flutter/Flutter-Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2 | #include "ephemeral/Flutter-Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/macos/Flutter/Flutter-Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2 | #include "ephemeral/Flutter-Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/pkgs/ok_http/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/ok_http/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/pkgs/ok_http/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/ok_http/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/pkgs/cronet_http/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cronet_http/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/pkgs/cronet_http/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cronet_http/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/pkgs/cronet_http/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cronet_http/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/pkgs/cronet_http/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cronet_http/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/pkgs/web_socket_conformance_tests/mono_pkg.yaml:
--------------------------------------------------------------------------------
1 | sdk:
2 | - pubspec
3 | - dev
4 |
5 | stages:
6 | - analyze_and_format:
7 | - analyze: --fatal-infos
8 | - format:
9 | sdk:
10 | - dev
11 |
--------------------------------------------------------------------------------
/pkgs/cronet_http/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cronet_http/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/pkgs/http_client_conformance_tests/mono_pkg.yaml:
--------------------------------------------------------------------------------
1 | sdk:
2 | - pubspec
3 | - dev
4 |
5 | stages:
6 | - analyze_and_format:
7 | - analyze: --fatal-infos
8 | - format:
9 | sdk:
10 | - dev
11 |
--------------------------------------------------------------------------------
/pkgs/cronet_http/analysis_options.yaml:
--------------------------------------------------------------------------------
1 | include: ../../analysis_options.yaml
2 |
3 | analyzer:
4 | exclude:
5 | - lib/src/jni/jni_bindings.dart
6 | - lib/src/messages.dart
7 | - pigeons/messages.dart
8 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/http_multi_server.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: "package:http_multi_server"
3 | about: "Create a bug or file a feature request against package:http_multi_server."
4 | labels: "package:http_multi_server"
5 | ---
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/web_socket_channel.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: "package:web_socket_channel"
3 | about: "Create a bug or file a feature request against package:web_socket_channel."
4 | labels: "package:web_socket_channel"
5 | ---
--------------------------------------------------------------------------------
/pkgs/cupertino_http/.gitattributes:
--------------------------------------------------------------------------------
1 | # ffigen generated code
2 | lib/src/native_cupertino_bindings.dart linguist-generated
3 | darwin/cupertino_http/Sources/cupertino_http/native_cupertino_bindings.m linguist-generated
4 |
--------------------------------------------------------------------------------
/pkgs/cronet_http/example/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/pkgs/cronet_http/example/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png
--------------------------------------------------------------------------------
/pkgs/cronet_http/android/consumer-rules.pro:
--------------------------------------------------------------------------------
1 | -keep class io.flutter.plugins.cronet_http.** { *; }
2 | -keep class java.net.URL { *; }
3 | -keep class java.util.concurrent.Executors { *; }
4 | -keep class org.chromium.net.** { *; }
5 |
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/linux/main.cc:
--------------------------------------------------------------------------------
1 | #include "my_application.h"
2 |
3 | int main(int argc, char** argv) {
4 | g_autoptr(MyApplication) app = my_application_new();
5 | return g_application_run(G_APPLICATION(app), argc, argv);
6 | }
7 |
--------------------------------------------------------------------------------
/pkgs/ok_http/example/android/app/src/main/kotlin/com/example/ok_http_example/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.ok_http_example
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity()
6 |
--------------------------------------------------------------------------------
/mono_repo.yaml:
--------------------------------------------------------------------------------
1 | # See https://github.com/google/mono_repo.dart for details on this file
2 | self_validate: analyze_and_format
3 |
4 | github:
5 | cron: "0 0 * * 0"
6 |
7 | merge_stages:
8 | - analyze_and_format
9 | - unit_test
10 |
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-lang/http/HEAD/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/pkgs/cronet_http/example/android/app/src/main/kotlin/io/flutter/cronet_http_example/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package io.flutter.cronet_http_example
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity() {
6 | }
7 |
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/android/app/src/main/kotlin/com/example/flutter_http_example/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.flutter_http_example
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity() {
6 | }
7 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/macos/Flutter/GeneratedPluginRegistrant.swift:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | import FlutterMacOS
6 | import Foundation
7 |
8 |
9 | func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
10 | }
11 |
--------------------------------------------------------------------------------
/pkgs/http_profile/mono_pkg.yaml:
--------------------------------------------------------------------------------
1 | sdk:
2 | - pubspec
3 | - dev
4 |
5 | stages:
6 | - analyze_and_format:
7 | - analyze: --fatal-infos
8 | - format:
9 | sdk:
10 | - dev
11 | - unit_test:
12 | - test: --platform vm
13 | os:
14 | - linux
15 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/linux/flutter/generated_plugin_registrant.cc:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #include "generated_plugin_registrant.h"
8 |
9 |
10 | void fl_register_plugins(FlPluginRegistry* registry) {
11 | }
12 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/windows/flutter/generated_plugin_registrant.cc:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #include "generated_plugin_registrant.h"
8 |
9 |
10 | void RegisterPlugins(flutter::PluginRegistry* registry) {
11 | }
12 |
--------------------------------------------------------------------------------
/pkgs/ok_http/example/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
6 |
--------------------------------------------------------------------------------
/pkgs/http2/AUTHORS:
--------------------------------------------------------------------------------
1 | # Below is a list of people and organizations that have contributed
2 | # to the project. Names should be added to the list like so:
3 | #
4 | # Name/Organization
5 |
6 | Google Inc. <*@google.com>
7 |
8 | Alexandre Ardhuin
9 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/macos/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import Cocoa
2 | import FlutterMacOS
3 |
4 | @main
5 | class AppDelegate: FlutterAppDelegate {
6 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
7 | return true
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/pkgs/web_socket/lib/web_socket.dart:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
2 | // for details. All rights reserved. Use of this source code is governed by a
3 | // BSD-style license that can be found in the LICENSE file.
4 |
5 | export 'src/web_socket.dart';
6 |
--------------------------------------------------------------------------------
/pkgs/http_profile/lib/http_profile.dart:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file
2 | // for details. All rights reserved. Use of this source code is governed by a
3 | // BSD-style license that can be found in the LICENSE file.
4 |
5 | export 'src/http_profile.dart';
6 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/4--package-cronet_http---i-found-a-bug.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: 4) package:cronet_http - I found a bug
3 | about: You found that something which is expected to work, doesn't.
4 | title: ''
5 | labels: package:cronet_http, type-bug
6 | assignees: brianquinlan
7 |
8 | ---
9 |
10 |
11 |
--------------------------------------------------------------------------------
/pkgs/web_socket/lib/testing.dart:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file
2 | // for details. All rights reserved. Use of this source code is governed by a
3 | // BSD-style license that can be found in the LICENSE file.
4 |
5 | export 'src/fake_web_socket.dart' show fakes;
6 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/6--package-cupertino_http---i-found-a-bug.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: 6) package:cupertino_http - I found a bug
3 | about: You found that something which is expected to work, doesn't.
4 | title: ''
5 | labels: package:cupertino_http, type-bug
6 | assignees: brianquinlan
7 |
8 | ---
9 |
10 |
11 |
--------------------------------------------------------------------------------
/pkgs/http/lib/browser_client.dart:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 | // for details. All rights reserved. Use of this source code is governed by a
3 | // BSD-style license that can be found in the LICENSE file.
4 |
5 | export 'src/browser_client.dart' show BrowserClient;
6 |
--------------------------------------------------------------------------------
/pkgs/cronet_http/example/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
7 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/mono_pkg.yaml:
--------------------------------------------------------------------------------
1 | sdk:
2 | - stable
3 |
4 | stages:
5 | - analyze_and_format:
6 | - analyze: --fatal-infos
7 | - format:
8 | - unit_test:
9 | - test:
10 | os:
11 | - macos
12 | - windows
13 | - test: --platform chrome
14 | - command: flutter test
15 |
--------------------------------------------------------------------------------
/pkgs/web_socket/lib/io_web_socket.dart:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
2 | // for details. All rights reserved. Use of this source code is governed by a
3 | // BSD-style license that can be found in the LICENSE file.
4 |
5 | export 'src/io_web_socket.dart' show IOWebSocket;
6 |
--------------------------------------------------------------------------------
/pkgs/http_multi_server/.gitignore:
--------------------------------------------------------------------------------
1 | # Don’t commit the following directories created by pub.
2 | .buildlog
3 | .dart_tool/
4 | .packages
5 | build/
6 |
7 | # Or the files created by dart2js.
8 | *.dart.js
9 | *.js_
10 | *.js.deps
11 | *.js.map
12 |
13 | # Include when developing application packages.
14 | pubspec.lock
15 |
--------------------------------------------------------------------------------
/pkgs/web_socket/lib/browser_web_socket.dart:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
2 | // for details. All rights reserved. Use of this source code is governed by a
3 | // BSD-style license that can be found in the LICENSE file.
4 |
5 | export 'src/browser_web_socket.dart' show BrowserWebSocket;
6 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/pkgs/web_socket_channel/lib/web_socket_channel.dart:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 | // for details. All rights reserved. Use of this source code is governed by a
3 | // BSD-style license that can be found in the LICENSE file.
4 |
5 | export 'src/channel.dart';
6 | export 'src/exception.dart';
7 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/3--package-http---i-d-like-a-new-feature.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: 3) package:http - I'd like a new feature
3 | about: You are using package:http and would like a new feature to make it easier
4 | to make http requests.
5 | title: ''
6 | labels: package:http, type-enhancement
7 | assignees: ''
8 |
9 | ---
10 |
11 |
12 |
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/macos/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
4 | networkTimeout=10000
5 | validateDistributionUrl=true
6 | zipStoreBase=GRADLE_USER_HOME
7 | zipStorePath=wrapper/dists
8 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/macos/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/pkgs/http2/analysis_options.yaml:
--------------------------------------------------------------------------------
1 | # https://dart.dev/tools/analysis#the-analysis-options-file
2 | include: package:dart_flutter_team_lints/analysis_options.yaml
3 |
4 | analyzer:
5 | language:
6 | strict-casts: true
7 | errors:
8 | # Disabled as there are several dozen violations.
9 | constant_identifier_names: ignore
10 |
--------------------------------------------------------------------------------
/pkgs/ok_http/example/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/to/reference-keystore
11 | key.properties
12 | **/*.keystore
13 | **/*.jks
14 |
--------------------------------------------------------------------------------
/pkgs/cronet_http/example/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/to/reference-keystore
11 | key.properties
12 | **/*.keystore
13 | **/*.jks
14 |
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/to/reference-keystore
11 | key.properties
12 | **/*.keystore
13 | **/*.jks
14 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/pkgs/http_multi_server/tools/openssl.cfg:
--------------------------------------------------------------------------------
1 | [req]
2 | distinguished_name = dn
3 | req_extensions = v3_req
4 | prompt = no
5 |
6 | [dn]
7 | CN = localhost
8 |
9 | [v3_req]
10 | subjectAltName = @alt_names
11 |
12 | [alt_names]
13 | # DNS names
14 | DNS.1 = localhost
15 | # IPv4 addresses
16 | IP.1 = 127.0.0.1
17 | # IPv6 addresses
18 | IP.2 = ::1
19 |
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/pkgs/http2/lib/src/frames/frame_utils.dart:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 | // for details. All rights reserved. Use of this source code is governed by a
3 | // BSD-style license that can be found in the LICENSE file.
4 |
5 | part of 'frames.dart';
6 |
7 | bool _isFlagSet(int value, int flag) => value & flag == flag;
8 |
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/pkgs/http/lib/io_client.dart:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file
2 | // for details. All rights reserved. Use of this source code is governed by a
3 | // BSD-style license that can be found in the LICENSE file.
4 |
5 | export 'src/io_client.dart' show IOClient;
6 | export 'src/io_streamed_response.dart' show IOStreamedResponse;
7 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/5--package-cronet_http---i-d-like-a-new-feature.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: 5) package:cronet_http - I'd like a new feature
3 | about: You are using package:cronet_http and would like a new feature to make it easier
4 | to make http requests.
5 | title: ''
6 | labels: package:cronet_http, type-enhancement
7 | assignees: brianquinlan
8 |
9 | ---
10 |
11 |
12 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/7--package-cupertino_http---i-d-like-a-new-feature.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: 7) package:cupertino_http - I'd like a new feature
3 | about: You are using package:cupertino_http and would like a new feature to make it
4 | easier to make http requests.
5 | title: ''
6 | labels: package:cupertino_http, type-enhancement
7 | assignees: brianquinlan
8 |
9 | ---
10 |
11 |
12 |
--------------------------------------------------------------------------------
/pkgs/web_socket/mono_pkg.yaml:
--------------------------------------------------------------------------------
1 | sdk:
2 | - pubspec
3 | - dev
4 |
5 | stages:
6 | - analyze_and_format:
7 | - analyze: --fatal-infos
8 | - format:
9 | sdk:
10 | - dev
11 | - unit_test:
12 | - test: --test-randomize-ordering-seed=random -p vm
13 | os:
14 | - linux
15 | - test: --test-randomize-ordering-seed=random -p chrome -c dart2js
16 | os:
17 | - linux
18 |
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/macos/Runner/Release.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.app-sandbox
6 |
7 | com.apple.security.network.client
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/RunnerTests/RunnerTests.swift:
--------------------------------------------------------------------------------
1 | import Flutter
2 | import UIKit
3 | import XCTest
4 |
5 | class RunnerTests: XCTestCase {
6 |
7 | func testExample() {
8 | // If you add code to the Runner application, consider adding tests here.
9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest.
10 | }
11 |
12 | }
13 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/macos/Runner/Release.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.app-sandbox
6 |
7 | com.apple.security.network.client
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/macos/RunnerTests/RunnerTests.swift:
--------------------------------------------------------------------------------
1 | import FlutterMacOS
2 | import Cocoa
3 | import XCTest
4 |
5 | class RunnerTests: XCTestCase {
6 |
7 | func testExample() {
8 | // If you add code to the Runner application, consider adding tests here.
9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest.
10 | }
11 |
12 | }
13 |
--------------------------------------------------------------------------------
/pkgs/http_profile/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: http_profile
2 | description: >-
3 | A library used by HTTP client authors to integrate with the DevTools Network
4 | View.
5 | repository: https://github.com/dart-lang/http/tree/master/pkgs/http_profile
6 | version: 0.1.1-wip
7 |
8 | environment:
9 | sdk: ^3.4.0
10 |
11 | dev_dependencies:
12 | dart_flutter_team_lints: ^3.0.0
13 | test: ^1.24.9
14 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/windows/.gitignore:
--------------------------------------------------------------------------------
1 | flutter/ephemeral/
2 |
3 | # Visual Studio user-specific files.
4 | *.suo
5 | *.user
6 | *.userosscache
7 | *.sln.docstates
8 |
9 | # Visual Studio build-related files.
10 | x64/
11 | x86/
12 |
13 | # Visual Studio cache files
14 | # files ending in .cache can be ignored
15 | *.[Cc]ache
16 | # but keep track of directories ending in .cache
17 | !*.[Cc]ache/
18 |
--------------------------------------------------------------------------------
/.github/dependabot.yml:
--------------------------------------------------------------------------------
1 | # Dependabot configuration file.
2 | # See https://docs.github.com/en/code-security/dependabot/dependabot-version-updates
3 |
4 | version: 2
5 | updates:
6 | - package-ecosystem: github-actions
7 | directory: /
8 | schedule:
9 | interval: monthly
10 | labels:
11 | - autosubmit
12 | groups:
13 | github-actions:
14 | patterns:
15 | - "*"
16 |
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/macos/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import Cocoa
2 | import FlutterMacOS
3 |
4 | @main
5 | class AppDelegate: FlutterAppDelegate {
6 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
7 | return true
8 | }
9 |
10 | override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
11 | return true
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/linux/flutter/generated_plugin_registrant.h:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #ifndef GENERATED_PLUGIN_REGISTRANT_
8 | #define GENERATED_PLUGIN_REGISTRANT_
9 |
10 | #include
11 |
12 | // Registers Flutter plugins.
13 | void fl_register_plugins(FlPluginRegistry* registry);
14 |
15 | #endif // GENERATED_PLUGIN_REGISTRANT_
16 |
--------------------------------------------------------------------------------
/pkgs/http2/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: http2
2 | version: 3.0.1-wip
3 | description: A HTTP/2 implementation in Dart.
4 | repository: https://github.com/dart-lang/http/tree/master/pkgs/http2
5 |
6 | topics:
7 | - http
8 | - network
9 | - protocols
10 |
11 | environment:
12 | sdk: ^3.7.0
13 |
14 | dev_dependencies:
15 | build_runner: ^2.4.15
16 | dart_flutter_team_lints: ^3.5.1
17 | mockito: ^5.4.5
18 | test: ^1.25.15
19 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/lib/http_client_factory_web.dart:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
2 | // for details. All rights reserved. Use of this source code is governed by a
3 | // BSD-style license that can be found in the LICENSE file.
4 |
5 | import 'package:fetch_client/fetch_client.dart';
6 | import 'package:http/http.dart';
7 |
8 | Client httpClient() => FetchClient(mode: RequestMode.cors);
9 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/windows/flutter/generated_plugin_registrant.h:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #ifndef GENERATED_PLUGIN_REGISTRANT_
8 | #define GENERATED_PLUGIN_REGISTRANT_
9 |
10 | #include
11 |
12 | // Registers Flutter plugins.
13 | void RegisterPlugins(flutter::PluginRegistry* registry);
14 |
15 | #endif // GENERATED_PLUGIN_REGISTRANT_
16 |
--------------------------------------------------------------------------------
/pkgs/ok_http/example/android/build.gradle:
--------------------------------------------------------------------------------
1 | allprojects {
2 | repositories {
3 | google()
4 | mavenCentral()
5 | }
6 | }
7 |
8 | rootProject.buildDir = "../build"
9 | subprojects {
10 | project.buildDir = "${rootProject.buildDir}/${project.name}"
11 | }
12 | subprojects {
13 | project.evaluationDependsOn(":app")
14 | }
15 |
16 | tasks.register("clean", Delete) {
17 | delete rootProject.buildDir
18 | }
19 |
--------------------------------------------------------------------------------
/pkgs/ok_http/example/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.github/workflows/health.yaml:
--------------------------------------------------------------------------------
1 | name: Health
2 | on:
3 | pull_request:
4 | branches: [ master ]
5 | types: [opened, synchronize, reopened, labeled, unlabeled]
6 |
7 | jobs:
8 | health:
9 | uses: dart-lang/ecosystem/.github/workflows/health.yaml@main
10 | with:
11 | sdk: dev
12 | channel: dev
13 | flutter_packages: "pkgs/cronet_http,pkgs/cupertino_http,pkgs/ok_http"
14 | permissions:
15 | pull-requests: write
16 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/pkgs/ok_http/example/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/pkgs/http_parser/lib/http_parser.dart:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 | // for details. All rights reserved. Use of this source code is governed by a
3 | // BSD-style license that can be found in the LICENSE file.
4 |
5 | export 'src/authentication_challenge.dart';
6 | export 'src/case_insensitive_map.dart';
7 | export 'src/chunked_coding.dart';
8 | export 'src/http_date.dart';
9 | export 'src/media_type.dart';
10 |
--------------------------------------------------------------------------------
/pkgs/web_socket_conformance_tests/lib/src/echo_server_web.dart:
--------------------------------------------------------------------------------
1 | // Generated by generate_server_wrappers.dart. Do not edit.
2 |
3 | import 'package:stream_channel/stream_channel.dart';
4 | import 'package:test/test.dart';
5 |
6 | /// Starts the redirect test HTTP server out-of-process.
7 | Future> startServer() async => spawnHybridUri(Uri(
8 | scheme: 'package',
9 | path: 'web_socket_conformance_tests/src/echo_server.dart'));
10 |
--------------------------------------------------------------------------------
/pkgs/web_socket/test/websocket_test.dart:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
2 | // for details. All rights reserved. Use of this source code is governed by a
3 | // BSD-style license that can be found in the LICENSE file.
4 |
5 | import 'package:web_socket/web_socket.dart';
6 | import 'package:web_socket_conformance_tests/web_socket_conformance_tests.dart';
7 |
8 | void main() {
9 | testAll(WebSocket.connect);
10 | }
11 |
--------------------------------------------------------------------------------
/pkgs/web_socket_conformance_tests/lib/src/protocol_server_web.dart:
--------------------------------------------------------------------------------
1 | // Generated by generate_server_wrappers.dart. Do not edit.
2 |
3 | import 'package:stream_channel/stream_channel.dart';
4 | import 'package:test/test.dart';
5 |
6 | /// Starts the redirect test HTTP server out-of-process.
7 | Future> startServer() async => spawnHybridUri(Uri(
8 | scheme: 'package',
9 | path: 'web_socket_conformance_tests/src/protocol_server.dart'));
10 |
--------------------------------------------------------------------------------
/pkgs/web_socket/lib/src/connect_stub.dart:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
2 | // for details. All rights reserved. Use of this source code is governed by a
3 | // BSD-style license that can be found in the LICENSE file.
4 |
5 | import '../web_socket.dart';
6 |
7 | Future connect(Uri url, {Iterable? protocols}) {
8 | throw UnsupportedError('Cannot connect without dart:js_interop or dart:io.');
9 | }
10 |
--------------------------------------------------------------------------------
/pkgs/web_socket_conformance_tests/lib/src/no_upgrade_server_web.dart:
--------------------------------------------------------------------------------
1 | // Generated by generate_server_wrappers.dart. Do not edit.
2 |
3 | import 'package:stream_channel/stream_channel.dart';
4 | import 'package:test/test.dart';
5 |
6 | /// Starts the redirect test HTTP server out-of-process.
7 | Future> startServer() async => spawnHybridUri(Uri(
8 | scheme: 'package',
9 | path: 'web_socket_conformance_tests/src/no_upgrade_server.dart'));
10 |
--------------------------------------------------------------------------------
/pkgs/cronet_http/example/android/build.gradle:
--------------------------------------------------------------------------------
1 | allprojects {
2 | repositories {
3 | google()
4 | mavenCentral()
5 | gradlePluginPortal()
6 | }
7 | }
8 |
9 | rootProject.buildDir = '../build'
10 | subprojects {
11 | project.buildDir = "${rootProject.buildDir}/${project.name}"
12 | }
13 | subprojects {
14 | project.evaluationDependsOn(':app')
15 | }
16 |
17 | tasks.register("clean", Delete) {
18 | delete rootProject.buildDir
19 | }
20 |
--------------------------------------------------------------------------------
/pkgs/http_multi_server/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: http_multi_server
2 | version: 3.2.2
3 | description: >-
4 | A dart:io HttpServer wrapper that handles requests from multiple servers.
5 | repository: https://github.com/dart-lang/http/tree/master/pkgs/http_multi_server
6 |
7 | environment:
8 | sdk: ^3.2.0
9 |
10 | dependencies:
11 | async: ^2.5.0
12 |
13 | dev_dependencies:
14 | dart_flutter_team_lints: ^3.0.0
15 | http: ^1.0.0
16 | shelf: ^1.4.0
17 | test: ^1.16.6
18 |
--------------------------------------------------------------------------------
/pkgs/web_socket_conformance_tests/lib/src/close_local_server_web.dart:
--------------------------------------------------------------------------------
1 | // Generated by generate_server_wrappers.dart. Do not edit.
2 |
3 | import 'package:stream_channel/stream_channel.dart';
4 | import 'package:test/test.dart';
5 |
6 | /// Starts the redirect test HTTP server out-of-process.
7 | Future> startServer() async => spawnHybridUri(Uri(
8 | scheme: 'package',
9 | path: 'web_socket_conformance_tests/src/close_local_server.dart'));
10 |
--------------------------------------------------------------------------------
/pkgs/web_socket_conformance_tests/lib/src/close_remote_server_web.dart:
--------------------------------------------------------------------------------
1 | // Generated by generate_server_wrappers.dart. Do not edit.
2 |
3 | import 'package:stream_channel/stream_channel.dart';
4 | import 'package:test/test.dart';
5 |
6 | /// Starts the redirect test HTTP server out-of-process.
7 | Future> startServer() async => spawnHybridUri(Uri(
8 | scheme: 'package',
9 | path: 'web_socket_conformance_tests/src/close_remote_server.dart'));
10 |
--------------------------------------------------------------------------------
/pkgs/http/test/html/utils.dart:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 | // for details. All rights reserved. Use of this source code is governed by a
3 | // BSD-style license that can be found in the LICENSE file.
4 |
5 | import 'package:web/web.dart' show window;
6 |
7 | export '../utils.dart';
8 |
9 | /// The test server's echo URL.
10 | Uri get echoUrl =>
11 | Uri.parse('${window.location.protocol}//${window.location.host}/echo');
12 |
--------------------------------------------------------------------------------
/pkgs/ok_http/example/integration_test/web_socket_test.dart:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
2 | // for details. All rights reserved. Use of this source code is governed by a
3 | // BSD-style license that can be found in the LICENSE file.
4 |
5 | import 'package:ok_http/ok_http.dart';
6 | import 'package:web_socket_conformance_tests/web_socket_conformance_tests.dart';
7 |
8 | void main() {
9 | testAll(OkHttpWebSocket.connect);
10 | }
11 |
--------------------------------------------------------------------------------
/pkgs/http/lib/src/client_stub.dart:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file
2 | // for details. All rights reserved. Use of this source code is governed by a
3 | // BSD-style license that can be found in the LICENSE file.
4 |
5 | import 'base_client.dart';
6 |
7 | /// Implemented in `browser_client.dart` and `io_client.dart`.
8 | BaseClient createClient() => throw UnsupportedError(
9 | 'Cannot create a client without dart:js_interop or dart:io.');
10 |
--------------------------------------------------------------------------------
/pkgs/web_socket_conformance_tests/lib/src/continuously_writing_server_web.dart:
--------------------------------------------------------------------------------
1 | // Generated by generate_server_wrappers.dart. Do not edit.
2 |
3 | import 'package:stream_channel/stream_channel.dart';
4 | import 'package:test/test.dart';
5 |
6 | /// Starts the redirect test HTTP server out-of-process.
7 | Future> startServer() async => spawnHybridUri(Uri(
8 | scheme: 'package',
9 | path: 'web_socket_conformance_tests/src/continuously_writing_server.dart'));
10 |
--------------------------------------------------------------------------------
/pkgs/web_socket_conformance_tests/lib/src/peer_protocol_errors_server_web.dart:
--------------------------------------------------------------------------------
1 | // Generated by generate_server_wrappers.dart. Do not edit.
2 |
3 | import 'package:stream_channel/stream_channel.dart';
4 | import 'package:test/test.dart';
5 |
6 | /// Starts the redirect test HTTP server out-of-process.
7 | Future> startServer() async => spawnHybridUri(Uri(
8 | scheme: 'package',
9 | path: 'web_socket_conformance_tests/src/peer_protocol_errors_server.dart'));
10 |
--------------------------------------------------------------------------------
/pkgs/cupertino_http/example/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @main
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/pkgs/flutter_http_example/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @main
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/pkgs/web_socket_conformance_tests/lib/src/echo_server_vm.dart:
--------------------------------------------------------------------------------
1 | // Generated by generate_server_wrappers.dart. Do not edit.
2 |
3 | import 'package:stream_channel/stream_channel.dart';
4 |
5 | import 'echo_server.dart';
6 |
7 | /// Starts the redirect test HTTP server in the same process.
8 | Future> startServer() async {
9 | final controller = StreamChannelController