Every example can be directly executed and will start a web server listening on port 8080
if dub
(D's package manager) is installed. To get dub
, refer to the downloads page.
./hello
dub --single -b unittest hello.d
Alternatively, you can also use:
make bin/hello.client
make bin/hello.test
make all
Vibe.d uses OpenSSL 1.0 by default. This often causes problems.
However, it's easy to use openssl-1.1
or botan
.
--override-config vibe-d:tls/openssl-1.1
dub.sdl
dependency "vibe-d:tls" version="~>0.8.2"
subConfiguration "vibe-d:tls" "openssl-1.1"
dub.json
{
...
"dependencies": {
...
"vibe-d:tls": "*"
},
"subConfigurations": {
...
"vibe-d:tls": "openssl-1.1"
}
}