@api_endpoint(decorate=False)
    def method(self, method, params, id_):
        try:
            handler = self.api_path_map()[method]
        except KeyError:
            raise MeteorError(404, 'Method not found', method)
        try:
            inspect.getcallargs(handler, *params)
        except TypeError as err:
            raise MeteorError(400, '%s' % err)
        result = handler(*params)
        msg = {'msg': 'result', 'id': id_}
        if result is not None:
            msg['result'] = result
        this.send(msg)
Read size bytes from the serial port. If a timeout is set it may
dataset/ETHPy150Open django-ddp/django-ddp/dddp/api.py/DDP.method--crossover with--dataset/ETHPy150Open pyserial/pyserial/serial/serialposix.py/PosixPollSerial.read