Skip to content

Own typed native binary WebSocket messages - #260

Merged
relh merged 1 commit into
masterfrom
relh/native-binary-websocket
Oct 4, 2026
Merged

relh merged 1 commit into
masterfrom
relh/native-binary-websocket

Conversation

@relh

@relh relh commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Native sprite players can now receive typed binary frames alongside welcome and terminal text. Binary payloads preserve invalid UTF-8 bytes. Existing text APIs still reject binary frames and invalid text.

The transport retains its absolute deadlines, global stop, partial-buffer resumption, serialized writer ownership, and explicit socket cleanup. The new message kind remains unobserved for non-message results.

Official Nim 2.2.4 remote CPU gates passed the existing WebSocket lifecycle/TLS/backpressure/worker-storage suite plus mixed text/binary/terminal, text rejection, partial binary timeout resumption, and both SIGTERM/SIGINT cleanup cases. No provider or GPU calls.

Source-only helper pass. Notsus integration, game/controller parity, images, authenticated receipts, certification, releases, and strength remain separate gates.

Co-authored-by: Codex (GPT-6) <noreply@openai.com>
@relh
relh marked this pull request as ready for review October 4, 2026 04:17
@relh
relh merged commit c844c27 into master Oct 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant