SocketModeOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures Socket Mode, where the bot receives activities over outbound WebSocket connections instead of an inbound HTTP endpoint.
public sealed class SocketModeOptions
type SocketModeOptions = class
Public NotInheritable Class SocketModeOptions
- Inheritance
-
SocketModeOptions
Remarks
Socket Mode opens one connection per geo and waits until every geo is ready before the host finishes starting. It is supported only in the public cloud, and runs on a host without a web server (Host.CreateApplicationBuilder). Settings are validated when the host starts. Socket Mode is experimental: the API is in preview and may change, and it is recommended only for developing agents. Socket Mode is currently only available for new bots.
Constructors
| Name | Description |
|---|---|
| SocketModeOptions() | |
Properties
| Name | Description |
|---|---|
| Geos |
Gets or sets the geos to connect, one connection each. An empty string connects to the base URL without a geo
segment. Defaults to |
| NegotiateBaseUrl |
Gets or sets the base URL used to negotiate each geo connection. Must use HTTPS unless it targets loopback.
Defaults to |