initializeMongo

Initializes the mongo db connection.

package
static if(isWeb)
void
initializeMongo
(
string host
,
ushort port = 0
)

Parameters

host string

The host of the mongo db.

port ushort

The port of the mongo db host. Only specify this the host is an ip address.

Meta