Skip to content

Introduce EVI proxy example #178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 4, 2025
Merged

Introduce EVI proxy example #178

merged 3 commits into from
Jun 4, 2025

Conversation

twitchard
Copy link
Contributor

@twitchard twitchard commented Jun 4, 2025

Introduces an "EVI Proxy" example

Watch usage here: https://www.loom.com/share/2e7d7e110ba04d2ea3e26937c362441c

This example contains an EVI "proxy" that accepts a websocket connection from a client, connects to EVI, and forwards messages back and forth between the client and EVI.

This app is useful as an example in its own right: it demonstrates

  • how to connect to EVI from a Typescript backend,
  • how to accept websocket connections, process messages, and send them upstream to EVI

See upstream.ts and downstream.ts for more details.

It is also useful as a debugging tool: it supports

  • recording and replaying EVI conversations,
  • simulating error conditions that you might want to handle to make your EVI application more robust.

@twitchard twitchard force-pushed the twitchard/evi-proxy branch from 4de42e0 to 0e5d452 Compare June 4, 2025 22:42
@twitchard twitchard merged commit a7f9c03 into main Jun 4, 2025
1 check passed
@twitchard twitchard deleted the twitchard/evi-proxy branch June 4, 2025 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants