def make_server(host=None, port=None, app=None, threaded=False, processes=1, request_handler=None, passthrough_errors=False, ssl_context=None, fd=None):
 if (threaded and (processes > 1)):
  raise ValueError('cannot have a multithreaded and multi process server.')
 elif threaded:
  return ThreadedWSGIServer(host, port, app, request_handler, passthrough_errors, ssl_context, fd=fd)
 elif (processes > 1):
  return ForkingWSGIServer(host, port, app, processes, request_handler, passthrough_errors, ssl_context, fd=fd)
 else:
  return BaseWSGIServer(host, port, app, request_handler, passthrough_errors, ssl_context, fd=fd)

def make_server ( host = None , port = None , app = None , threaded = False , processes = 1 , request_handler = None , passthrough_errors = False , ssl_context = None , fd = None ) : if ( threaded and ( processes > 1 ) ) : raise ValueError ( 'cannot have a multithreaded and multi process server.' ) elif threaded : return ThreadedWSGIServer ( host , port , app , request_handler , passthrough_errors , ssl_context , fd = fd ) elif ( processes > 1 ) : return ForkingWSGIServer ( host , port , app , processes , request_handler , passthrough_errors , ssl_context , fd = fd ) else : return BaseWSGIServer ( host , port , app , request_handler , passthrough_errors , ssl_context , fd = fd )
create a new server instance that is either threaded .