We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can someone please provide an example of how to use the RealtimeClient websocket?
I am learning how to code and can't figure this part out. I have gotten everything else in this library working except this part.
I started like this:
` string[] prods = {"BTC-USD"};
var realtimeClient = new RealtimeClient(new Uri("wss://ws-feed.gdax.com"), prods);`
I can't figure out where to go from here. realtimeClient.SubscribeAsync(messageRecieved)...? what message goes in here?
Thanks in advance for any help.
The text was updated successfully, but these errors were encountered:
@nerrawymerej 'messageRecieved' is the action that will be called, you can try this.
realtimeClient.SubscribeAsync(message=> DoSomeStuff(message));
void DoSomeStuff(string message) { }
Sorry, something went wrong.
No branches or pull requests
Can someone please provide an example of how to use the RealtimeClient websocket?
I am learning how to code and can't figure this part out. I have gotten everything else in this library working except this part.
I started like this:
` string[] prods = {"BTC-USD"};
I can't figure out where to go from here. realtimeClient.SubscribeAsync(messageRecieved)...?
what message goes in here?
Thanks in advance for any help.
The text was updated successfully, but these errors were encountered: