diff options
Diffstat (limited to 'synapse/http')
-rw-r--r-- | synapse/http/server.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/synapse/http/server.py b/synapse/http/server.py index d7f4b691bc..87b4fc8a5f 100644 --- a/synapse/http/server.py +++ b/synapse/http/server.py @@ -52,10 +52,9 @@ class HttpServer(object): pass -# The actual HTTP server impl, using twisted http server -class TwistedHttpServer(HttpServer, resource.Resource): - """ This wraps the twisted HTTP server, and triggers the correct callbacks - on the transport_layer. +class JsonResource(HttpServer, resource.Resource): + """ This implements the HttpServer interface and provides JSON support for + Resources. Register callbacks via register_path() """ |