Пример #1
0
 public void createCustomEndpoint(CustomEndpoint c)
 {
     p.addCustomEndpoint(c);
 }
Пример #2
0
 public void addCustomEndpoint(CustomEndpoint e)
 {
     customEndpoints.Add(e);
     _listener.Prefixes.Add($"http://{e.Hostname}:{e.port}/");
     PDLogger.Log($"Started listening from endpoint http://{e.Hostname}:{e.port}/", 3);
 }