Closed diamondburned closed 1 year ago
Since Lemmy is gradually moving from WS to HTTP, we should have a wrapper library that automatically detects if we can use its HTTP API.
Since we already have an API that effectively turns the WS into a request-response API, this should be trivial.
The following needs to be done:
request(op, data) -> response
Implemented!
Since Lemmy is gradually moving from WS to HTTP, we should have a wrapper library that automatically detects if we can use its HTTP API.
Since we already have an API that effectively turns the WS into a request-response API, this should be trivial.
The following needs to be done:
request(op, data) -> response
)