I think it could be compelling to allow RunKit to enable prototyping a Websocket server, similar to how RunKit Endpoints work.
We totally agree! It’s unfortunately a little complicated because of the way we do some internal proxying of HTTP traffic and resource management to make endpoints work.
A few months back I hacked together a messy prototype to get it working, but it was far from production ready. Fortunately over the last couple months we’ve been investing heavily in cleaning up our infrastructure which will hopefully make it a little easier to enable websocket support for Endpoints in the future.
Unfortunately I can’t really give you a time frame, but know that it’s something we would like to support!
Thanks for letting us know this is a feature you want!