Bases: djangorpc.responses.RpcResponse
Simple responses. Just for pretty code and some kind of “protocol”. Example:
return Error('Something happened', code=error_code, traceback=traceback)
Bases: djangorpc.responses.RpcResponse
Simple responses. Just for pretty code and some kind of “protocol”. Example:
return Msg('Object saved!')
Bases: djangorpc.responses.RpcResponse
This is vrapper for method’s reponse, which allow save some modification of HTTP response. For example set COOKIES. This should be flexible and useful for in future.
Set cookie.