-
Notifications
You must be signed in to change notification settings - Fork 38
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
Can we use this addon to make a Websocket client? #53
Comments
So to be clear I understand, you want to connect from an OF app to web
server with web sockets (as a client)?
ofxJSONRPC is an a way of making an oF server.
…On Thu, Dec 12, 2019, 7:33 AM Mathieu ***@***.***> wrote:
Hello,
I want to use websockets and make a client that would connect to my
websocket server made with nodejs.
I see the readme note about using ofxJSONRPC to use websockets. Thing is:
I really don't want to use JSON RPC, only bare websockets.
I had a look at the code but I do not understand how to make a simple
websocket client.
Any hints or example will be great.
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#53?email_source=notifications&email_token=AACJLRE6M7NHJ2CQ2BARX3DQYI4UBA5CNFSM4JZ6S63KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IABVYUA>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACJLREY45EMOAH2YPFABXDQYI4UBANCNFSM4JZ6S63A>
.
|
Yes, in the past I used ofxJSONRPC to make this web server and everything was bundled within OF. Now I want to separate the web part and use nodejs to take care of the webserver and websocket server. OF will only have a websocket client to communicate with it. I thought ofxHTTP is a good starting point for this but looking at the source makes me very confused. I cannot understand how I could make a websocket client app. Otherwise I found this websocket client example with Poco and was thinking to maybe use it as a starting point if I cannot make a websocket client with your addons. |
Have you ever found a solution to making a Websocket client with ofxHTTP? |
I ended up using ofxSocketIO for this purpose. I don't know if it will create some trouble with ofxHTTP or ofxSSLManager as I don't use them anymore. |
I ended up using a simple websocket with poco and ofxHTTP. |
Hello,
I want to use websockets and make a client that would connect to my websocket server made with nodejs.
I see the readme note about using ofxJSONRPC to use websockets. Thing is: I really don't want to use JSON RPC, only bare websockets.
I had a look at the code but I do not understand how to make a simple websocket client.
Any hints or example will be great.
Thanks!
The text was updated successfully, but these errors were encountered: