MCPcopy Create free account
hub / github.com/PleasureTools/joyBox / Create

Method Create

backend/Src/WebServerFactory.ts:9–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7
8export class WebServerFactory {
9 public Create() {
10 return Config.IsSecure ? new HTTPSServer(this.TLSOptions()) : new HTTPServer();
11 }
12
13 private TLSOptions() {
14 return {

Callers 2

constructorMethod · 0.45
StartResourceMonitorMethod · 0.45

Calls 1

TLSOptionsMethod · 0.95

Tested by

no test coverage detected