endpoints icon indicating copy to clipboard operation
endpoints copied to clipboard

Is there a way to have Websocket use Call instead of Connection?

Open Jaymon opened this issue 3 years ago • 0 comments

I'm wondering if we can merge Connection and Call together, so Connection would extend our base call.Call?

The reason why I was thinking about this is because I added a CloseConnection (see #105) exception and I had to put support for it in the base Call, otherwise it wouldn't bubble up. But the functionality is basically undefined for any other type of request that isn't a websocket request, which isn't great.

Jaymon avatar Sep 09 '20 23:09 Jaymon