Payload
public enum Payload : Sendable
The type of message sent from the server.
-
Content generated by the model in response to client messages.
Declaration
Swift
case content(LiveServerContent)
-
Request for the client to execute the provided functions.
Declaration
Swift
case toolCall(LiveServerToolCall)
-
Notification for the client that a previously issued
LiveServerToolCall
should be cancelled.Declaration
Swift
case toolCallCancellation(LiveServerToolCallCancellation)
-
Server will disconnect soon.
Declaration
Swift
case goingAwayNotice(LiveServerGoingAwayNotice)