Skip to content

Websocket - Add events (OnConnect / OnDisconnect) - #86

Open
Apolixit wants to merge 7 commits into
masterfrom
feature/websocket-events
Open

Websocket - Add events (OnConnect / OnDisconnect)#86
Apolixit wants to merge 7 commits into
masterfrom
feature/websocket-events

Conversation

@Apolixit

Copy link
Copy Markdown
Member

Linked to #83

@ApolixitApolixit added the enhancement New feature or request label Jul 9, 2024
@Apolixit

Copy link
Copy Markdown
MemberAuthor

@RostislavLitovkin, based on your issue, I have added OnConnect and OnDisconnect, but I didn't implemented the others because I think it is better if it is handle by the caller (maybe some apps doesn't want auto-reconnect)

You can try this PR on your app before to merge if you prefer ;)

@darkfriend77darkfriend77 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We should make sure that we use the events from the integrated frameworks like vs-streamjsonrpc and the websocket it self, there is also the underlying httpclient maybe.

Comment threadSubstrate.NetApi/SubstrateClient.cs
@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

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

Labels

enhancementNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@Apolixit@darkfriend77@RostislavLitovkin