Skip to content

feat:Web_Socket_Support #555

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 39 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
5995eef
stashing
Clasherzz Dec 24, 2024
2cf3a2d
Merge branch 'main' of https://github.com/Clasherzz/apidash
Clasherzz Dec 24, 2024
1b6df9c
Merge branch 'foss42:main' into main
Clasherzz Dec 27, 2024
ede3c40
Merge branch 'foss42:main' into main
Clasherzz Dec 30, 2024
a56e420
Merge branch 'foss42:main' into main
Clasherzz Jan 12, 2025
d9616af
Merge branch 'foss42:main' into main
Clasherzz Jan 15, 2025
55428f4
added model and service files
Clasherzz Jan 16, 2025
261af51
working on models
Clasherzz Jan 16, 2025
c93ccc8
working on models
Clasherzz Jan 16, 2025
fd0e7b6
working on clientWrapper
Clasherzz Jan 16, 2025
77fc705
some ui changes
Clasherzz Jan 17, 2025
248010f
working on sending frames
Clasherzz Jan 23, 2025
7331771
added ping and websocket manager
Clasherzz Jan 26, 2025
5b37792
removed client wrapper
Clasherzz Jan 26, 2025
93668e8
SETTING HEADERS AND PARAMS
Clasherzz Jan 26, 2025
d29c51f
working on HEADERS AND PARAMS
Clasherzz Jan 27, 2025
27dfca3
Merge branch 'foss42:main' into web_socket
Clasherzz Jan 27, 2025
f1521d6
working on HEADERS AND PARAMS
Clasherzz Jan 27, 2025
2c926ee
fixed headers and params
Clasherzz Jan 28, 2025
2850897
added isConnect
Clasherzz Jan 30, 2025
ab20f25
removed print and make time accurate
Clasherzz Jan 30, 2025
8d64ecf
referred dart analyze and some edits
Clasherzz Jan 31, 2025
3ef1fe3
disable headers for web
Clasherzz Feb 1, 2025
5d171bc
request pane corrected
Clasherzz Feb 1, 2025
783821b
final commit
Clasherzz Feb 1, 2025
5cc9ec4
Merge branch 'client_termination' of https://github.com/Clasherzz/api…
Clasherzz Feb 8, 2025
46d3522
resolved scrolling issue
Clasherzz Feb 17, 2025
add28b4
Merge branch 'main' into web_socket
ashitaprasad Feb 18, 2025
cc5808b
added debugging commit
Clasherzz Feb 23, 2025
6ed1552
added debuging codes
Clasherzz Feb 23, 2025
613e700
removed debug prints
Clasherzz Feb 25, 2025
62c9a67
fixed url
Clasherzz Feb 26, 2025
3f312b1
changeed request model
Clasherzz Feb 26, 2025
2a23b45
fixed url
Clasherzz Mar 1, 2025
78e3904
removed web socket url
Clasherzz Mar 1, 2025
08e91db
last commit
Clasherzz Mar 4, 2025
411c7b4
redo
Clasherzz Mar 4, 2025
b310ade
Merge branch 'main' into web_socket
Clasherzz Mar 4, 2025
d63a810
final commit
Clasherzz Mar 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions lib/providers/collection_providers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,14 @@ final requestSequenceProvider = StateProvider<List<String>>((ref) {
return ids ?? [];
});

final httpClientManager = HttpClientManager();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ashitaprasad this was never supposed to be removed


final WebSocketManager webSocketManager = WebSocketManager();

final StateNotifierProvider<CollectionStateNotifier, Map<String, RequestModel>?>
collectionStateNotifierProvider =
StateNotifierProvider((ref) => CollectionStateNotifier(
ref,
hiveHandler,
httpClientManager,
webSocketManager
));

Expand All @@ -42,7 +41,6 @@ class CollectionStateNotifier
CollectionStateNotifier(
this.ref,
this.hiveHandler,
this.httpClientManager,
this.webSocketManager
) : super(null) {
var status = loadData();
Expand All @@ -60,10 +58,8 @@ class CollectionStateNotifier
final Ref ref;
final HiveHandler hiveHandler;
final baseHttpResponseModel = const HttpResponseModel();
final HttpClientManager httpClientManager;
final WebSocketManager webSocketManager;


bool hasId(String id) => state?.keys.contains(id) ?? false;

RequestModel? getRequestModel(String id) {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ dependencies:
git:
url: https://github.com/google/flutter-desktop-embedding.git
path: plugins/window_size

share_plus: ^10.1.4

dependency_overrides:
extended_text_field: ^16.0.0
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.