Totalus

Results 11 comments of Totalus

I would highly suggest to expose lower level ping/pong functions to the user: - Add `onPing` and `onPong` callbacks that are triggered when receiving a ping or pong message. Those...

> Browsers don't expose pings and pongs and I'd prefer we not either. Why not ? Websocket libraries often do expose them. > I suspect there's a good general purpose...

Indeed, the examples don't work because the returned value of the `json {}` function are not valid objects. The following examples should work. ```kotlin val obj = json { obj(...

Could we also allow to use the `obj()` function without specifying a key so that we can populate the root fields of the object ? This way the following expression...

An easy way to implement this is to use two distinct fields in the query configuration, one with the query, another with the variables as a JSON string. The variable...

I didn't mean to "quote" the expressions to replace, sorry for the confusion. As you say it should be raw substitution and quoting of the variables left to the user....

Can't you just create two distinct secrets for your use case ? The only moment you would really need this feature is if your secret is auto-generated by an external...

> @lxmfly123 I (like in the repro) use `Subject` from `rxjs`, which doesn't seem to have anything resembling a `.destroy()` message. Any idea how to update it for the `rxjs`...

I also noticed that. Let me make a PR.