def send(self, value, error=False):
if error:<EOL><INDENT>resp = [<NUM_LIT:1>, self._request_id, value, None]<EOL><DEDENT>else:<EOL><INDENT>resp = [<NUM_LIT:1>, self._request_id, None, value]<EOL><DEDENT>debug('<STR_LIT>', self._request_id, resp)<EOL>self._msgpack_stream.send(resp)<EOL>
Send the response.

        If `error` is True, it will be sent as an error.