A websocket response. Includes the return type. Can be used like:
if (op == UserOperation.Search) { let data = wsJsonToRes<SearchResponse>(msg).data; }
This contains the data for a websocket response.
The correct response type if given is in LemmyHttp.
Generated using TypeDoc
A websocket response. Includes the return type. Can be used like: