Skip to content
Snippets Groups Projects
Commit 4b46fbec authored by David Baker's avatar David Baker
Browse files

Doesn't look like this is used anymore

parent 1d770283
No related branches found
No related tags found
No related merge requests found
......@@ -179,19 +179,6 @@ class JsonResource(HttpServer, resource.Resource):
self._PathEntry(path_pattern, callback)
)
def start_listening(self, port):
""" Registers the http server with the twisted reactor.
Args:
port (int): The port to listen on.
"""
reactor.listenTCP(
port,
server.Site(self),
interface=self.hs.config.bind_host
)
def render(self, request):
""" This gets called by twisted every time someone sends us a request.
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment