adding websocket code
This commit is contained in:
@@ -105,6 +105,10 @@ class LSPEndpointServer(Singleton):
|
||||
def send_client_ipc_message(self, message: str = "Empty Data...") -> None:
|
||||
try:
|
||||
if self._conn_type == "socket":
|
||||
if not os.path.exists(self._client_ipc_address):
|
||||
logger.error(f"Socket: {self._client_ipc_address} doesn't exist. NOT sending message...")
|
||||
return
|
||||
|
||||
conn = Client(address=self._client_ipc_address, family="AF_UNIX", authkey=self._client_ipc_authkey)
|
||||
elif "unsecured" not in self._conn_type:
|
||||
conn = Client((self._ipc_address, self._ipc_port), authkey=self._ipc_authkey)
|
||||
|
||||
Reference in New Issue
Block a user