mirror of https://github.com/adamdruppe/arsd.git
more notes
This commit is contained in:
parent
2fe3355560
commit
a1659f7c34
6
cgi.d
6
cgi.d
|
@ -3486,7 +3486,11 @@ struct RequestServer {
|
|||
listeningPort = defaultPort;
|
||||
}
|
||||
|
||||
/// Reads the args into the other values.
|
||||
/++
|
||||
Reads the command line arguments into the values here.
|
||||
|
||||
Possible arguments are `--listening-host`, `--listening-port` (or `--port`), `--uid`, and `--gid`.
|
||||
+/
|
||||
void configureFromCommandLine(string[] args) {
|
||||
bool foundPort = false;
|
||||
bool foundHost = false;
|
||||
|
|
Loading…
Reference in New Issue