Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

340
Vistas
How do I use websockets with gjs(Gnome JavaScript)?

I am trying to create a simple application in GJS that sends desktop notifications based on json received via WebSocket. What is the easiest way to use WebSocket in GJS? Thanks in advance.

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

I wrote an example here https://gitlab.gnome.org/GNOME/gjs/-/blob/master/examples/websocket-client.js

If you would like to use a similar API to browsers, have a look at https://github.com/sonnyp/troll

about 4 years ago · Juan Pablo Isaza Denunciar

0

In GJS you'll probably have to use libsoup for this.

The GJS documentation is at https://gjs-docs.gnome.org/soup30, such as the Soup.WebSocketConnection.

You'll probably also want to read the upstream documentation which includes some introductory material.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda