Module utils

Module utils 

Source

Functionsยง

load_services
Loads services based on the environment configuration.
process_request
Processes an incoming request by routing it to the appropriate service.
send_message
Sends a message to the WebSocket connection.
start_local_server
Starts a local WebSocket server (plain WS or WSS depending on use_tls).
start_remote_server
Starts the remote WebSocket server with reconnection and message handling.
websocket_handler
Handles a single WebSocket connection end-to-end.