Skip to content

feat: add OpenClaw gateway WebSocket example#10

Merged
outofcoffee merged 1 commit into
mainfrom
claude/openclaw-websocket-example
Jul 14, 2026
Merged

feat: add OpenClaw gateway WebSocket example#10
outofcoffee merged 1 commit into
mainfrom
claude/openclaw-websocket-example

Conversation

@outofcoffee

Copy link
Copy Markdown
Contributor

Adds a websocket/openclaw example that mocks a subset of the OpenClaw gateway API: the connect challenge, hello-ok, agent/session/model/cron listing, a streamed chat.send run and a periodic keepalive tick. It's enough for an operator client to connect, browse a single agent and session, and hold a chat.

Moved from imposter-go/examples/websocket/openclaw; a minimal echo example remains in imposter-go. Uses the built-in websocket plugin (Imposter 5.x).

Simulates a subset of the OpenClaw gateway API — connect challenge,
hello-ok, agent/session/model/cron listing, streamed chat.send events
and a keepalive tick — enough for an operator client to connect, browse
and hold a chat. Moved here from the imposter-go repository.
@outofcoffee outofcoffee changed the title Add OpenClaw gateway WebSocket example feat: add OpenClaw gateway WebSocket example Jul 14, 2026
@outofcoffee outofcoffee added the documentation Improvements or additions to documentation label Jul 14, 2026
@outofcoffee
outofcoffee merged commit 8235939 into main Jul 14, 2026
2 checks passed
@outofcoffee
outofcoffee deleted the claude/openclaw-websocket-example branch July 14, 2026 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant