TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sharp C
NA
11
1.3k
Websocket sendasync response from request
Oct 14 2019 9:29 AM
I have a connection class which will maintain a web socket connection to my server. In my connection class, I have a function task < product > getproduct; AWebsocket.sendasync But the response from server has to be handled in onmessage event, but I would like caller who make use of my class will get the response from the function call, how can I pick up the response from onmessage and return directly from getproduct function?
Reply
Answers (
0
)
Poco or expandoobject or dictionary for return result
How to loop data (or the best logic) to generate output