class_docstr: ChatServiceMessageSocket is a wrapper around websocket to forward messages from the
  remote server to the ChatServiceManager.
class_docstr_tok: ["ChatServiceMessageSocket","is","a","wrapper","around","websocket","to","forward","messages","from","the","remote","server","to","the","ChatServiceManager","."]
docstr: Registers world with the passthrough server.
docstr_tok: ["Registers","world","with","the","passthrough","server","."]
code: def _send_world_alive(self):
      """
      Registers world with the passthrough server.
      """
      self._safe_send(
          json.dumps(
              {
                  "type": "world_alive",
                  "content": {
                      "id": "WORLD_ALIVE",
                      "sender_id": "world",
                  },
              }
          ),
          force=True,
      )
  
file_path: ParlAI/parlai/chat_service/core/socket.py
imports: import errno
  import json
  import logging
  import threading
  import time
  import websocket
  import parlai.chat_service.utils.logging
label_desc: Use image node_id 4 for calling the ChatServiceMessageSocket obj's underlying member method code with example usage: obj._send_world_alive() without return types