Lukasz Gornicki
Lukasz Gornicki
@JohnGalt1717 hey and thanks for the suggestion. Some followups: - you are referring to some specific protocol, I guess for mobile it would be websocket? - if you are not...
I see https://pub.dev/packages/web_socket_channel is more popular although future goal of code gen here is to be super modular and support clients for one protocol and one language with different libraries/frameworks
@Parthib modelina will only give you classes, nothing else. I suggest first draft an expected client, basic one, how it would look like and how it would be used. Then...
@Adi-204 why google doc? to receive comments? Just open a PR, you know where technically we keep examples, and where we keep test-generated clients - just reflect that (of course...
@JohnGalt1717 @Parthib @shwetd19 please folks look into the PR. You can ignore the template code. Just look at the generated files located at `packages/templates/clients/websocket/dart/test/temp/snapshotTestResult/` and share your opinion
yes, there is, at AsyncAPI there is one community project called Modelina and it does pretty nice job and we have a component that uses modelina for types generation. I...
@Adi-204 go ahead and convert
> I don't work with websockets directly and use signalR so trying to figure out how I'd adapt it natively to support SignalR. @JohnGalt1717 sorry, but can you explain more?...
ok, so C# backed using SignalR exposes an WebSocket API that Flutter through Dart is consuming - thus you need Dart client for the app. SignalR generation will be useful...
you mean connection termination? heartbeats? the ping pong? how to know connection is open and how to make sure it is not terminated? and what exactly you mean on framing?