class_docstr: A very basic web server.
class_docstr_tok: ["A","very","basic","web","server","."]
docstr: Runs the server loop.
docstr_tok: ["Runs","the","server","loop","."]
code: def _run_web_server(self) -> None:
      """Runs the server loop."""
      log.debug("web server started")
      while not self.stop_serving:
          self.server.handle_request()
      self.server.server_close()
  
file_path: bokeh/tests/support/plugins/file_server.py
imports: from __future__ import annotations
  import logging
  import os
  import threading
  from http.server import BaseHTTPRequestHandler, HTTPServer
  from pathlib import Path
  from typing import Any
  from urllib.request import urlopen
  import pytest
label_desc: Use image node_id 2 for calling the SimpleWebServer obj's underlying member method code with example usage: obj._run_web_server() without return types