Function: chatRouteTransport()
chatRouteTransport(
options):ChatSessionTransport
Defined in: react/src/transports/chat-route-transport.ts:23
The HTTP transport to a createChatRoute server: AI SDK's own
DefaultChatTransport, sending the route's body (sessionId, the latest
user input, the decisions that resume a paused turn, and trigger for a
regenerate) and asking for its UI message stream. clear() deletes the
session's history on the route.
Parameters
options
Returns
ChatSessionTransport