websockets/websocket-echo-server là dự án mã nguồn mở trên GitHub, viết chủ yếu bằng JavaScript, với 17 sao. WebSocket echo server
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
The BIND_ADDRESS environment variable specifes the address on which the
server will start listening for connections. The default value is ::.
The BIND_PORT environment variable specifies the port on which the server
will start listening for connections. The default value is 1337.
The HEARTBEAT_INTERVAL environment variable specifies the interval, in
milliseconds, at which the server sends a ping message to all connected
clients to detect and close unresponsive connections. The default value is
30000.
The HIGH_WATER_MARK environment variable specifies a threshold in bytes for
the outgoing buffered data of each connection. If the threshold is exceeded no
more data is read until all the outgoing buffered data is flushed. The default
value is 16384.
The MAX_FRAGMENTS environment variable specifies the maximum number of
fragments allowed per message. The default value is 256.
The MAX_MESSAGE_SIZE environment variable specifies the maximum allowed
message size in bytes. The default value is 65536.
The MAX_PINGS_PER_HEARTBEAT environment variable specifies the maximum
number of pings allowed in a heartbeat interval. If the limit is exceeded, the
connection is closed. The default value is 60.
Running the server locally
git clone https://github.com/websockets/websocket-echo-server.git
cd websocket-echo-server
npm ci --production
node index.js
Running the server in a Docker container
git clone https://github.com/websockets/websocket-echo-server.git
cd websocket-echo-server
docker build -t websocket-echo-server .
docker run -e BIND_PORT=8080 --expose 8080 -d -p 8080:8080 websocket-echo-server
Đọc thêm về websockets/websocket-echo-server ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/websockets/websocket-echo-server là nguồn chính thức.
websockets/websocket-echo-server có bao nhiêu sao?
websockets/websocket-echo-server có 17 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/websockets/websocket-echo-server. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
websockets/websocket-echo-server có phải mã nguồn mở không?
Có — websockets/websocket-echo-server phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/websockets/websocket-echo-server.
websockets/websocket-echo-server có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho websockets/websocket-echo-server. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
websockets/websocket-echo-server là gì?
websockets/websocket-echo-server (websockets/websocket-echo-server) là dự án JavaScript trên GitHub. Theo mô tả gốc: WebSocket echo server
Đọc đầy đủ README ở tab phía trên.
Chưa chắc websocket-echo-server có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về websocket-echo-server.