diff --git a/grpcWSGI/server.py b/grpcWSGI/server.py index 4a58aa7..694b38d 100644 --- a/grpcWSGI/server.py +++ b/grpcWSGI/server.py @@ -11,7 +11,7 @@ ) -class grpcWSGI: +class grpcWSGI(grpc.Server): """ WSGI Application Object that understands gRPC-Web. @@ -26,6 +26,18 @@ def __init__(self, application): def add_generic_rpc_handlers(self, handlers): self._handlers.extend(handlers) + def add_insecure_port(self, port): + raise NotImplementedError() + + def add_secure_port(self, port): + raise NotImplementedError() + + def start(self): + raise NotImplementedError() + + def stop(self): + raise NotImplementedError() + def _get_rpc_handler(self, environ): path = environ["PATH_INFO"]