adk_live_openai_codec (erlang_adk v0.8.0)
View SourceStrict codec for the OpenAI Realtime WebSocket event protocol.
Summary
Functions
-spec decode_server(binary(), map()) -> {ok, [adk_live_provider:event_spec()]} | {error, term()}.
-spec encode_client(adk_live_provider:client_action(), map()) -> {ok, binary() | [binary(), ...]} | ignored | {error, term()}.