init method
Init Service
Implementation
@override
FutureOr<bool> init() async {
// await context.logger.ensureInitialize();
server = await serverBind;
if (defaultResponseHeaders != null) {
for (var h in defaultResponseHeaders!.entries) {
server.defaultResponseHeaders.add(h.key, h.value);
}
}
server.listen(handleHttpRequest);
return true;
}