QDotREST constructor
Implementation
QDotREST({host,port,List<Endpoint>? endpoints}){
if(host!=null) _host = host;
if(port!=null) _port = port;
if(endpoints!=null){
for(Endpoint e in endpoints){
this.endpoints[URIHandler.generateRegex(e.urlpattern)] = e;
}
}
}