agentskit.js

toSseFrame

Auto-generated API reference for toSseFrame.

Function: toSseFrame()

toSseFrame(envelope): string

Defined in: devtools.ts:121

Serialize a devtools envelope as a single data: ...\n\n SSE frame. Framework-agnostic — hook into Express / Hono / plain http by writing the returned string to your response.

#Parameters

#envelope

DevtoolsEnvelope

#Returns

string

Explore nearby

✎ Edit this page on GitHub·Found a problem? Open an issue →·How to contribute →

On this page