app

Entry-point to serve-d

Replaces std.stdio stdout with stderr so writeln calls don't accidentally write to the RPC output.

Handles all command line arguments, possibly modifying global state variables when enabling serve-d specific protocol extensions are requested.

Handles all the request/notification dispatch, calls (de)serialization of given JSON parameters and return values and responds back to the RPC.

Performs periodic GC cleanup and invokes the fiber scheduler, pushing incoming RPC requests as tasks to the fiber scheduler.

Members

Functions

main
int main(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
printVersion
void printVersion(io.File output)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta