feat:Web_Socket_Support
PR Description
The PR discusses an approach for adding websocket support to API Dash.
Related Issues
- Closes #15
Checklist
- [x] I have gone through the contributing guide
- [x] I have updated my branch and synced it with project
mainbranch before making this PR - [x] I am using the latest Flutter stable branch (run
flutter upgradeand verify) - [] I have run the tests (
flutter test) and all tests are passing
Added/updated tests?
I haven't yet added test cases and would like to have some support for that
- [] Yes
- [x] No, and this is why: needs help and support
OS on which you have developed and tested the feature?
- [x] Windows
- [ ] macOS
- [ ] Linux
@ashitaprasad I haven't finished on the history part of websocket (there is an error throwing because of this I would work on this once the approach is reviewed) . And still trying to make the scrolling functionality bit more smoother. Currently the new frames are pushing the old frames down , making it hard for tester to read when multiple frames comes fastly.
@ashitaprasad apart from above mentioned issues the branch is ready to review .
@Clasherzz hi, looked briefly at your PR and noticed that you have commited some generated files as well. The model files generated by the freezed package are meant to be gitignored. Maybe this can be of some help.
@Clasherzz hi, looked briefly at your PR and noticed that you have commited some generated files as well. The model files generated by the
freezedpackage are meant to be gitignored. Maybe this can be of some help.
I never thought to put them in git ignore since the codebase in github contains the generated files and already existing git ignore file in the codebase is not including them . And since the generated file code doesn't seem to vary across different dev enviornments I thought it wasn't going to cause conflict.
@Clasherzz Some feedback :
- There shouldn’t be any errors across the project when you submit a PR
- GET, POST, GraphQL, cancel request etc. functionalities of the app are breaking
- When you write the websocket functionality you have to make sure it works along with the existing features of the project
@ashitaprasad kindly check this branch once again