ae v0.0.2728 (2020-08-02T06:18:06Z)
Home
Dub
Repo
Server
ae
net
http
app
server
Undocumented in source.
struct
Server (
bool
useSSL
) {
import
ae
.
net
.
ssl
.
openssl
;
;
mixin
SSLUseLib
;
immutable
ServerConfig
[
string
]
config
;
this
(ServerConfig[string] config);
void
delegate
(
HttpRequest
request
,
immutable
ref
ServerConfig
serverConfig
,
void
delegate
(
HttpResponse
)
handleResponse
,
ref
Logger
log
)
handleRequest
;
string
banner
;
void
startServer
(string serverName);
void
startServers
();
bool
runImplicitServer
();
}
Constructors
this
this
(ServerConfig[string] config)
Undocumented in source.
Members
Functions
runImplicitServer
bool
runImplicitServer
()
Undocumented in source. Be warned that the author may not have intended to support it.
startServer
void
startServer
(string serverName)
Undocumented in source. Be warned that the author may not have intended to support it.
startServers
void
startServers
()
Undocumented in source. Be warned that the author may not have intended to support it.
Mixins
__anonymous
mixin
SSLUseLib
Undocumented in source.
Variables
banner
string
banner
;
Undocumented in source.
config
ServerConfig
[
string
]
config
;
Undocumented in source.
handleRequest
void
delegate
(
HttpRequest
request
,
immutable
ref
ServerConfig
serverConfig
,
void
delegate
(
HttpResponse
)
handleResponse
,
ref
Logger
log
)
handleRequest
;
Undocumented in source.
Meta
Source
See Implementation
ae
net
http
app
server
structs
Server
ServerConfig