S
S
SKEPTIC2019-07-02 11:20:58
Python
SKEPTIC, 2019-07-02 11:20:58

How to contact the server on the Electron client?

I have a client for a food delivery service. It is written in JavaScript (Electron).
I want to write a server in Python.
I'm wondering: how can I connect to a server in Python?
Are there any sockets in JavaScipt? Can Node.js be used and does Node.js have sockets?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2019-07-02
@fox_12

Are there any sockets in JavaScipt?

There is
Can
Yes
, you decide on the architecture. From your application, you can make both AJAX requests using REST and organize web sockets.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question