KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
flutter-rest-client
★ 8
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
Skynet-System
:
A Telethon UserBot to make gbanning easy.
Aniruddh-482
:
Config files for my GitHub profile.
3Lancers
:
Highly customizable Bullet Journal Web App
cobrautil
:
A collection of utility functions when using Cobra.
gemmit
:
gemmit is a social news aggregation and web content rating website for the gemini protocol
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
flutter-rest-client
?
Download (.md)
# flutter-rest-client A Dart and Flutter compatible library to simplify creating REST based API calls. For Flutter based applications, this will offload the JSON decoding to a separate Isolate to avoid janking the UI thread on large JSON responses. ## Using the library Add the repo to your Flutter `pubspec.yaml` file. ``` dependencies: rest_client: <<version>> ``` Then run... ``` flutter packages get ``` ## Authorizers The API Client offers the following two built in authorizers. * `BasicAuthorizer` -- To authenticate against an API using the BASIC username / password security models. * `TokenAuthorizer` -- To authorize against an API using `Bearer` token based authorization. ## Example ```dart import 'package:rest_client/rest_client.dart' as rc; ... var client = rc.Client(); var request = rc.Request( url: 'https://google.com', ); var response = client.execute( authorizor: rc.TokenAuthorizer(token: 'my_token_goes_here'), request: request, ); var body = response.body; // do further processing here... ```