Skip to content

Designed an interface for the REST network requests#30

Open
muhib349 wants to merge 4 commits into
AliAkberAakash:mainfrom
muhib349:rest_client_config
Open

Designed an interface for the REST network requests#30
muhib349 wants to merge 4 commits into
AliAkberAakash:mainfrom
muhib349:rest_client_config

Conversation

@muhib349

Copy link
Copy Markdown
Contributor

Added one abstract class with mentioning methods. However, I'm not sure how you would like to design that's why methods will be changed as per requirements.

Addressing the issue #28

@AliAkberAakash

Copy link
Copy Markdown
Owner

Hey @muhib349 ,
Thanks for raising this. Yes, I need to come up with a good design for the interface. I'm a bit busy currently. You can come up with your design, we can then fit it to the needs of leafy.
Roughly, the methods should take in json (dart map) responses and json return responses. additionally they can have options, query params, files etc.

@muhib349

Copy link
Copy Markdown
Contributor Author

Hi @AliAkberAakash,
I have added some implementation, will update based on your feedback. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants