DapServer constructor
DapServer(})
Implementation
DapServer(
Stream<List<int>> input,
StreamSink<List<int>> output, {
this.ipv6 = false,
this.enableDds = true,
this.enableAuthCodes = true,
this.test = false,
this.logger,
Function? onError,
}) : channel = ByteStreamServerChannel(input, output, logger) {
adapter = test
? DartTestDebugAdapter(
channel,
ipv6: ipv6,
enableDds: enableDds,
enableAuthCodes: enableAuthCodes,
logger: logger,
onError: onError,
)
: DartCliDebugAdapter(
channel,
ipv6: ipv6,
enableDds: enableDds,
enableAuthCodes: enableAuthCodes,
logger: logger,
onError: onError,
);
}