'Args:
hs (synapse.server.HomeServer): server'

def __init__(self, hs):

    super(SendToDeviceRestServlet, self).__init__()
    self.hs = hs
    self.auth = hs.get_auth()
    self.txns = HttpTransactionCache(hs.get_clock())
    self.device_message_handler = hs.get_device_message_handler()
