in theory we should be able to have different backends - Rserve, httpuv, etc. In order to be prepared for that we need Request and Response classes should be backend independent. Which means:
[x] we need to make to_rserve and from_rserve methods independent of Request and Response
[x] helpers to construct Request from Rserve API should be also extracted from Request class
in theory we should be able to have different backends - Rserve, httpuv, etc. In order to be prepared for that we need
Request
andResponse
classes should be backend independent. Which means:to_rserve
andfrom_rserve
methods independent ofRequest
andResponse
Request
from Rserve API should be also extracted fromRequest
class