示例#1
0
 def __init__(self, hs):
     JsonResource.__init__(self, hs)
     self.register_servlets(self, hs)
示例#2
0
 def __init__(self, hs):
     JsonResource.__init__(self, hs, canonical_json=False)
     self.register_servlets(self, hs)
示例#3
0
文件: __init__.py 项目: Xe/synapse
 def __init__(self, hs):
     JsonResource.__init__(self, hs, canonical_json=False)
     self.register_servlets(self, hs)
示例#4
0
    def __init__(self, hs):
        JsonResource.__init__(self, hs, canonical_json=False)

        register_servlets_for_client_rest_resource(hs, self)
        SendServerNoticeServlet(hs).register(self)
        VersionServlet(hs).register(self)
示例#5
0
 def __init__(self, hs: "HomeServer"):
     JsonResource.__init__(self, hs, canonical_json=False)
     register_servlets(hs, self)
示例#6
0
 def __init__(self, hs):
     JsonResource.__init__(self, hs)
     self.register_servlets(self, hs)
示例#7
0
    def __init__(self, hs):
        JsonResource.__init__(self, hs, canonical_json=False)

        register_servlets_for_client_rest_resource(hs, self)
        SendServerNoticeServlet(hs).register(self)
        VersionServlet(hs).register(self)