rhttp icon indicating copy to clipboard operation
rhttp copied to clipboard

Make HTTP requests using Rust from Flutter.

Results 31 rhttp issues
Sort by recently updated
recently updated
newest added

would you accept (not that I currently have time to contribute 🙃 ) integration with https://github.com/jgraef/reqwest-websocket ?

enhancement

Fix the error where the symbol link cannot be correctly parsed when moving the flutter cache to another location using symbol links

@override Future beforeRequest( HttpRequest request, ) async { final cacheEnabled = refRead(currentUserProvider)?.hasPermission( UserPermission.cacheData, ); final authToken = LocalStorage.getAuthToken(); return Interceptor.next( request .addHeader( name: HttpHeaderName.authorization, value: 'Bearer $authToken', ) .addHeader( name:...

question

Hi there, while compiling my flutter project [ndk 27, 29 tested] rhttp failed to compile with given error ``` [ +4 ms] FAILURE: Build failed with an exception. [ +12...

Hi @Tienisto, thanks for this wonderful package. I was previously using `Dio` I was trying to use `rhttp` pretty much in the same way and tried to register it as...

Please consider caching responses. This could be done one the rust side with https://github.com/06chaynes/http-cache or in dart with https://github.com/Colton127/http_cache_stream or https://github.com/rodydavis/http_get_cache.

enhancement

`By default, the system proxy is enabled.` Does this mean that the system Wifi proxy will be used automatically in Android? But it seems that it is not used.

bug

using M1 mac mini Error info ` Xcode build done. 11.5s Failed to build iOS app Error (Xcode): failed to install component: 'rust-std-x86_64-apple-ios', detected conflict: 'lib/rustlib/x86_64-apple-ios/lib/libaddr2line-5ed8dfbcd1e57ba9.rlib' /Users/abc/my/Work/2024/mixtest/ios/Pods/SEVERE:0:0 Could not build...

``` static init() async { // there will always be one HTTP client try { rCash = await RhttpCompatibleClient.create( interceptors: [TimeInterceptor()], settings: ClientSettings( httpVersionPref: HttpVersionPref.all, timeoutSettings: TimeoutSettings( timeout: Duration(seconds: 5),...

When using `RhttpCompatibleClient` with `Dio` and add custom request header with `host` then the request line will empty. Steps to reproduce: ```dart import 'package:dio/dio.dart'; import 'package:dio_compatibility_layer/dio_compatibility_layer.dart'; import 'package:flutter/material.dart'; import 'package:rhttp/rhttp.dart';...