MCPcopy Index your code
hub / github.com/RustPython/RustPython / MyXMLRPCServer

Class MyXMLRPCServer

Lib/test/test_xmlrpc.py:629–635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

627 return '42'
628
629 class MyXMLRPCServer(xmlrpc.server.SimpleXMLRPCServer):
630 def get_request(self):
631 # Ensure the socket is always non-blocking. On Linux, socket
632 # attributes are not inherited like they are on *BSD and Windows.
633 s, port = self.socket.accept()
634 s.setblocking(True)
635 return s, port
636
637 if not requestHandler:
638 requestHandler = xmlrpc.server.SimpleXMLRPCRequestHandler

Callers 2

http_serverFunction · 0.85
http_multi_serverFunction · 0.85

Calls

no outgoing calls

Tested by 2

http_serverFunction · 0.68
http_multi_serverFunction · 0.68