socketserver.BaseServer.verify_request()

verify_request(request, client_address)

Must return a Boolean value; if the value is True, the request will be processed, and if it’s False, the request will be denied. This function can be overridden to implement access controls for a server. The default implementation always returns True.

doc_python
2016-10-07 17:42:31
Comments
Leave a Comment

Please login to continue.