From 4b616bca4f513edc033baa84811468d1e995ac59 Mon Sep 17 00:00:00 2001 From: hanli <37435717+hnl1@users.noreply.github.com> Date: Sat, 28 Feb 2026 13:52:15 +0800 Subject: [PATCH] docs: add docstring to start_unix_socket method --- server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server.py b/server.py index 94397aa24..a59a407ec 100644 --- a/server.py +++ b/server.py @@ -1221,6 +1221,7 @@ class PromptServer(): call_on_start(scheme, self.address, self.port) async def start_unix_socket(self, unix_socket, verbose=True): + """Start the server listening on a Unix domain socket instead of TCP.""" if sys.platform == 'win32': raise RuntimeError("Unix sockets are not supported on Windows. Please use --listen and --port instead.")