summary refs log tree commit diff
path: root/synapse/server.pyi
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2017-10-17 19:46:56 +0100
committerRichard van der Hoff <richard@matrix.org>2017-10-17 20:51:29 +0100
commit74f99f227cb700e41fc6c309398c0e5a6a42439a (patch)
treec793f363a1b6623ce8fbd3f2a60201c18d847d6a /synapse/server.pyi
parentMerge pull request #2550 from krombel/fix_thumbnail_2548 (diff)
downloadsynapse-74f99f227cb700e41fc6c309398c0e5a6a42439a.tar.xz
Doc some more dynamic Homeserver methods
Diffstat (limited to 'synapse/server.pyi')
-rw-r--r--synapse/server.pyi8
1 files changed, 8 insertions, 0 deletions
diff --git a/synapse/server.pyi b/synapse/server.pyi
index 9570df5537..e8c0386b7f 100644
--- a/synapse/server.pyi
+++ b/synapse/server.pyi
@@ -1,4 +1,6 @@
 import synapse.api.auth
+import synapse.federation.transaction_queue
+import synapse.federation.transport.client
 import synapse.handlers
 import synapse.handlers.auth
 import synapse.handlers.device
@@ -27,3 +29,9 @@ class HomeServer(object):
 
     def get_state_handler(self) -> synapse.state.StateHandler:
         pass
+
+    def get_federation_sender(self) -> synapse.federation.transaction_queue.TransactionQueue:
+        pass
+
+    def get_federation_transport_client(self) -> synapse.federation.transport.client.TransportLayerClient:
+        pass