http
http copied to clipboard
A composable API for making HTTP requests in Dart.
I get the following error when trying to use Cronet in my Flutter application: ``` W/JavaCronetEngine(17661): using the fallback Cronet Engine implementation. Performance will suffer and many HTTP client features,...
Closes #1259 Add a second copy of the publish workflow with `use-flutter: true`. Add `ignore-packages` to both workflows to ignore published packages for the non-relevant SDK.
``` var client = http.Client(); var request = http.Request("GET", Uri.parse("$root/$uri")); client.send(request).then((response) { double progress = 0.0; int receved = 0; response.stream.listen((value) { receved += value.length; progress = receved / contentLength;...
When I use `http.put()` and supply a JSON encoded string as the `body` or a utf8 encoded series of bytes representing the same string as the `bodyBytes`, the body will...
Platform: Windows After `flutter pub add cronet_http`, my project compiles error with: ``` CMake Error at C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Java (missing: Java_JAVAH_EXECUTABLE) (found version "1.8.0.421")...
It's quite common in larger business intranets that connections are only secured by self-signed certificates. To enable secure communication inside such networks, we're currently relying on `HttpClient`'s `badCertificateCallback`. That works...
Hi, I get random intermittent ClientException stating `XMLHttpRequest error` with around 1 - 2% of requests made. The issue is only affecting mobile users on web as far as I...
I created a PWA with Flutter Web. When I use the http.get or http.head functions with an url like http://www.myapp.info/api/validate/?url=https://external.site.com/path/file.ext but it likes it if the url has a fake...
Suppose I called the api and API is running then at the same time I want to click on the other button now I want, the first API should be...
**Note: Assuming the below issues can be fixed (that means, cronet = faster than http), is there someone I can send a monetary donation to in advance for their time?**...