Module utils

Source
Expand description

WebSocket utility functions

Provides helper functions for WebSocket operations.

Functionsยง

parse_json_bytes
Safe JSON parsing from bytes with UTF-8 validation
to_json
Helper function to serialize data to JSON using simd_json
validate_utf8
Validate that bytes contain valid UTF-8 text