Questions tagged [websocket]
WebSocket is an API and a protocol for bi-directional, full-duplex communication that is closely associated with HTML5 and implemented in recent versions of most web browsers.
55 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
83
views
Runtime agnostic WebSocket server
A runtime agnostic WebSocket server. Tested with node, deno, bun, ...
9
votes
3
answers
2k
views
A remote trading bot that runs on the CLI - first C++ project
I am looking for feedback about a working trading bot (which connects to the API of the deribit website and trades on that platform) I made. I am a beginner in C++ and would like to learn some good ...
4
votes
1
answer
368
views
API Generator for Python [closed]
I'm currently working on my thesis to obtain a bachelor in software engineering, and i want to get some feedback from real developers of how useful this project can be in the real life.
the project is ...
3
votes
2
answers
240
views
utility for automatic websocket ping-pong and receiving round-trip time reports
Without ping-pong websocket connections are usually dropped by intermediary proxies/routers after some time of inactivity, so you can't go make yourself a coffee because your chat connection will ...
4
votes
1
answer
172
views
Encrypted websocket chat using AES (EAX) and RSA for signing
For learning purposes and because it really interests me I am trying to get a better understanding of cryptography by trying to make my own basic secure chat-application. I posted a first version of ...
4
votes
1
answer
294
views
Encryption implementation for websocket chat (RSA + AES)
For learning purposes I am trying to make a encrypted chat in Python using Websockets. I am using AES and RSA to make it safe.
The idea of the chat is that it's a group-chat. Users can join a chat by ...
2
votes
1
answer
325
views
Using async websockets in Rust with tokio, rmp-serde and varint encoding
This is my first attempt at a real life app in Rust. I would mostly like to know if I am writing idiomatic Rust code, coming from Java and Python. I'll appreciate any pointers to improvements, though.
...
2
votes
1
answer
533
views
How to structure in handling websocket and inserting data to databse in Python
I connected to the websocket, and the data response in the callback function handle_message. I wish to insert all the data to influxdb using ...
0
votes
1
answer
121
views
Simple websocket chat app, security and efficiency concerns
I'm coding a simple websocket chat app. I was wondering if my code is secure and efficient.
I also have a question about the way how I'm sending objects and then checking the type, is there anything ...
1
vote
1
answer
4k
views
General web socket client with auto reconnect capabilities
This is a web socket client wrapper with auto reconnect capabilities.
First of all, I know I should avoid working with strings to reduce allocation, that's on test purpose. So, ignore the fact that it ...
3
votes
0
answers
202
views
Simple websocket chat app
I'm coding a simple websocket chat app. I was wondering if my code is secure and efficient.
I also have a question about the way how I'm sending objects and then checking the type, is there anything ...
2
votes
0
answers
2k
views
High-performance ClientWebSocket wrapper
I'm working on a web socket client wrapper around ClientWebSocket and this is kinda my first public library project, which is why I'm asking this question here. I ...
2
votes
0
answers
2k
views
Implement Websocket using boost::asio::beast with serialized writes
Here's a proposal implementation of websocket using boost::asio::beast that is thread-safe to parallel writes.
In this example below, the ...
3
votes
1
answer
584
views
Adding websocket functionality to send live data from a Python script. Any edge-cases or unexpected consequences to beware of?
The original purpose of this script was saving data to a local file, which is still the primary purpose.
Since I may only obtain one copy of a data stream (not this particular Coinbase one; it's just ...
1
vote
0
answers
146
views
Building a generic WebSocket component in Python
I have the following working code for a generic WebSocket component:
...