instabug / instabug-dart-http-adapter Goto Github PK
View Code? Open in Web Editor NEWAn adapter for Dart's http package for use with Instabug.
License: MIT License
An adapter for Dart's http package for use with Instabug.
License: MIT License
We tried to use the HTTP adapter to as a client for our supabase instance.
But when we try to upload files we get this error:
"type 'MultipartRequest' is not a subtype of type 'Request' in type cast"
We set up the supabase client like this:
// Supabase
final client = InstabugHttpClient();
await Supabase.initialize(
url: dotenv.env['SUPABASE_URL']!,
anonKey: dotenv.env['SUPABASE_ANON_KEY']!,
httpClient: client,
);
The function we use in supabase is the from.upload
:
https://supabase.com/docs/reference/dart/storage-from-upload
This is the part in supabase that does the multipart upload:
https://github.com/supabase-community/storage-dart/blob/70d051fa569b887eb97c8f415b5177aebb6d0e48/lib/src/fetch.dart#L72-L102
Is there something that we could have missed on the setup?
Thank you.
Hi maintainers,
is there a reason why the SEND request is not logged?
Future<http.StreamedResponse> send(http.BaseRequest request)
If this would be a valid addition, I will open a PR. Thx
Our app integrates with several other services which provide custom http client implementations. In order to work with all of them we need a sensible way to compose the various clients together. One common way to do this is to provide an optional "inner client" that we can provide to which all network requests are forwarded. This would allow, for example, an application to integrate with DataDog in addition to Instabug.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.