Home
last modified time | relevance | path

Searched refs:server_class (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_imaplib.py107 class MyServer(self.server_class):
120 print "CLASS =", self.server_class
124 name='%s serving' % self.server_class,
180 server_class = SocketServer.TCPServer variable in ThreadedNetworkedTests
187 server_class = SecureTCPServer variable in ThreadedNetworkedTestsSSL
/external/python/cpython3/Lib/test/
Dtest_imaplib.py209 class TestTCPServer(self.server_class):
219 self.server = self.server_class((support.HOST, 0), imap_handler)
497 server_class = socketserver.TCPServer variable in NewIMAPTests
503 server_class = SecureTCPServer variable in NewIMAPSSLTests
538 server_class = socketserver.TCPServer variable in ThreadedNetworkedTests
543 class MyServer(self.server_class):
557 print("CLASS =", self.server_class)
561 name='%s serving' % self.server_class,
892 server_class = SecureTCPServer variable in ThreadedNetworkedTestsSSL
Dtest_logging.py1615 server_class = TestTCPServer variable in SocketHandlerTest
1625 self.server = server = self.server_class(self.address,
1714 server_class = TestUnixStreamServer variable in UnixSocketHandlerTest
1729 server_class = TestUDPServer variable in DatagramHandlerTest
1739 self.server = server = self.server_class(self.address,
1795 server_class = TestUnixDatagramServer variable in UnixDatagramHandlerTest
1810 server_class = TestUDPServer variable in SysLogHandlerTest
1820 self.server = server = self.server_class(self.address,
1879 server_class = TestUnixDatagramServer variable in UnixSysLogHandlerTest
1896 server_class = TestUDPServer variable in IPv6SysLogHandlerTest
[all …]
/external/python/cpython2/Lib/wsgiref/
Dsimple_server.py148 host, port, app, server_class=WSGIServer, handler_class=WSGIRequestHandler argument
151 server = server_class((host, port), handler_class)
/external/python/cpython3/Lib/wsgiref/
Dsimple_server.py150 host, port, app, server_class=WSGIServer, handler_class=WSGIRequestHandler argument
153 server = server_class((host, port), handler_class)
/external/python/cpython2/Doc/library/
Dbasehttpserver.rst35 def run(server_class=BaseHTTPServer.HTTPServer,
38 httpd = server_class(server_address, handler_class)
284 def run_while_true(server_class=BaseHTTPServer.HTTPServer,
292 httpd = server_class(server_address, handler_class)
Dwsgiref.rst274 .. function:: make_server(host, port, app, server_class=WSGIServer, handler_class=WSGIRequestHandle…
277 for *app*. The return value is an instance of the supplied *server_class*, and
/external/python/cpython3/Lib/test/test_asyncio/
Dutils.py185 server_class = server_ssl_cls if use_ssl else server_cls
186 httpd = server_class(address, SilentWSGIRequestHandler)
/external/python/cpython3/Doc/library/
Dhttp.server.rst28 def run(server_class=HTTPServer, handler_class=BaseHTTPRequestHandler):
30 httpd = server_class(server_address, handler_class)
Dwsgiref.rst277 .. function:: make_server(host, port, app, server_class=WSGIServer, handler_class=WSGIRequestHandle…
280 for *app*. The return value is an instance of the supplied *server_class*, and