AdkWebServer constructor
AdkWebServer({
- required String agentsDir,
- String appName = '',
- int port = 8000,
- String host = '127.0.0.1',
- List<
String> allowOrigins = const <String>[], - String? sessionServiceUri,
- String? artifactServiceUri,
- String? memoryServiceUri,
- bool useLocalStorage = true,
- String? urlPrefix,
- bool autoCreateSession = false,
- bool enableWebUi = true,
- String? logoText,
- String? logoImageUrl,
Creates a web server launcher for agentsDir.
Implementation
AdkWebServer({
required this.agentsDir,
this.appName = '',
this.port = 8000,
this.host = '127.0.0.1',
this.allowOrigins = const <String>[],
this.sessionServiceUri,
this.artifactServiceUri,
this.memoryServiceUri,
this.useLocalStorage = true,
this.urlPrefix,
this.autoCreateSession = false,
this.enableWebUi = true,
this.logoText,
this.logoImageUrl,
});