socket.io-client

Realtime application framework (client) (by socketio)

Socket.io-client Alternatives

Similar projects and alternatives to socket.io-client

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better socket.io-client alternative or higher similarity.

socket.io-client reviews and mentions

Posts with mentions or reviews of socket.io-client. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-07.
  • Where can I get socket.io.js client library to serve locally (without needing Internet connection)
    1 project | /r/webdev | 7 Mar 2023
  • Can't return a fonction in a var
    1 project | /r/flask | 3 Oct 2022
    from cmath import log from flask import Flask, render_template, request from flask_socketio import SocketIO, emit import json # https://flask-socketio.readthedocs.io/en/latest/ # https://github.com/socketio/socket.io-client app = Flask(__name__) app.config[ 'SECRET_KEY' ] = 'jsbcfsbfjefebw237u3gdbdc' socketio = SocketIO( app ) @app.route('/c') def hello(): return render_template( 'chat2.html' ) def messageRecived(): print( 'message was received!!!' ) @socketio.on( 'my event' ) def handle_my_custom_event( json ): print( 'recived my event: ' + str(json)) print(json) socketio.emit( 'my response', json, callback=messageRecived ) return json data = handle_my_custom_event() def creatlog(data): with open ('chat.json', 'w') as chat: json.dump(json) if __name__ == '__main__': socketio.run( app, debug = True )
  • Top WebSocket libraries for Node.js in 2022
    12 projects | dev.to | 7 Jan 2022
    Socket.IO’s primary use, however, is for facilitating real-time, bidirectional, and event-based communication between the browser and the server. Like ws, Socket.IO has a Node.js server and a JavaScript client library.
  • We Improved Reliability of Our WebSocket Connections
    4 projects | news.ycombinator.com | 28 Oct 2021
    > Conversely, if the client does not receive a PING packet within `pingInterval + pingTimeout`, it will consider that the connection is closed.

    Indeed looks like a solid way to solve the client-side recognition of a broken connection!

    --

    That said, I'm a little confused because I cannot find any mention of `pingTimeout` in their JS client [0], and `pingInterval` is only mentioned in an implementation of a test server [1]. I wonder if I'm looking at the wrong thing.

    [0]: https://github.com/socketio/socket.io-client/search?q=pingti...

  • A note from our sponsor - WorkOS
    workos.com | 26 Apr 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic socket.io-client repo stats
4
10,544
6.0
17 days ago

Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com