Class AgentsApp
public static class AgentsApp
- Inheritance
-
AgentsApp
- Inherited Members
Properties
Host
public static WebApplication? Host { get; }
Property Value
Methods
PublishMessageAsync(string, IMessage, WebApplicationBuilder?, AgentTypes?, bool)
public static ValueTask<WebApplication> PublishMessageAsync(string topic, IMessage message, WebApplicationBuilder? builder = null, AgentTypes? agents = null, bool local = false)
Parameters
topic
stringmessage
IMessagebuilder
WebApplicationBuilderagents
AgentTypeslocal
bool
Returns
ShutdownAsync()
public static ValueTask ShutdownAsync()
Returns
StartAsync(WebApplicationBuilder?, AgentTypes?, bool)
public static ValueTask<WebApplication> StartAsync(WebApplicationBuilder? builder = null, AgentTypes? agentTypes = null, bool local = false)
Parameters
builder
WebApplicationBuilderagentTypes
AgentTypeslocal
bool