Jaa


StreamingRequestHandler Constructors

Definition

Overloads

StreamingRequestHandler(IBot, IStreamingActivityProcessor, WebSocket, ILogger)

Initializes a new instance of the StreamingRequestHandler class and establishes a connection over a WebSocket to a streaming channel.

StreamingRequestHandler(IBot, IStreamingActivityProcessor, String, ILogger)

Initializes a new instance of the StreamingRequestHandler class and establishes a connection over a Named Pipe to a streaming channel.

StreamingRequestHandler(IBot, IStreamingActivityProcessor, StreamingConnection, String, ILogger)

Initializes a new instance of the StreamingRequestHandler class.

StreamingRequestHandler(IBot, IStreamingActivityProcessor, WebSocket, String, ILogger)

Initializes a new instance of the StreamingRequestHandler class and establishes a connection over a WebSocket to a streaming channel.

StreamingRequestHandler(IBot, IStreamingActivityProcessor, String, String, ILogger)

Initializes a new instance of the StreamingRequestHandler class and establishes a connection over a Named Pipe to a streaming channel.

StreamingRequestHandler(IBot, IStreamingActivityProcessor, WebSocket, ILogger)

Initializes a new instance of the StreamingRequestHandler class and establishes a connection over a WebSocket to a streaming channel.

public StreamingRequestHandler (Microsoft.Bot.Builder.IBot bot, Microsoft.Bot.Builder.Streaming.IStreamingActivityProcessor activityProcessor, System.Net.WebSockets.WebSocket socket, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Builder.Streaming.StreamingRequestHandler : Microsoft.Bot.Builder.IBot * Microsoft.Bot.Builder.Streaming.IStreamingActivityProcessor * System.Net.WebSockets.WebSocket * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Builder.Streaming.StreamingRequestHandler
Public Sub New (bot As IBot, activityProcessor As IStreamingActivityProcessor, socket As WebSocket, Optional logger As ILogger = Nothing)

Parameters

bot
IBot

The bot for which we handle requests.

activityProcessor
IStreamingActivityProcessor

The processor for incoming requests.

socket
WebSocket

The base socket to use when connecting to the channel.

logger
ILogger

Logger implementation for tracing and debugging information.

Applies to

StreamingRequestHandler(IBot, IStreamingActivityProcessor, String, ILogger)

Initializes a new instance of the StreamingRequestHandler class and establishes a connection over a Named Pipe to a streaming channel.

public StreamingRequestHandler (Microsoft.Bot.Builder.IBot bot, Microsoft.Bot.Builder.Streaming.IStreamingActivityProcessor activityProcessor, string pipeName, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Builder.Streaming.StreamingRequestHandler : Microsoft.Bot.Builder.IBot * Microsoft.Bot.Builder.Streaming.IStreamingActivityProcessor * string * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Builder.Streaming.StreamingRequestHandler
Public Sub New (bot As IBot, activityProcessor As IStreamingActivityProcessor, pipeName As String, Optional logger As ILogger = Nothing)

Parameters

bot
IBot

The bot for which we handle requests.

activityProcessor
IStreamingActivityProcessor

The processor for incoming requests.

pipeName
String

The name of the Named Pipe to use when connecting to the channel.

logger
ILogger

Logger implementation for tracing and debugging information.

Applies to

StreamingRequestHandler(IBot, IStreamingActivityProcessor, StreamingConnection, String, ILogger)

Initializes a new instance of the StreamingRequestHandler class.

public StreamingRequestHandler (Microsoft.Bot.Builder.IBot bot, Microsoft.Bot.Builder.Streaming.IStreamingActivityProcessor activityProcessor, Microsoft.Bot.Connector.Streaming.Application.StreamingConnection connection, string audience = default, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Builder.Streaming.StreamingRequestHandler : Microsoft.Bot.Builder.IBot * Microsoft.Bot.Builder.Streaming.IStreamingActivityProcessor * Microsoft.Bot.Connector.Streaming.Application.StreamingConnection * string * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Builder.Streaming.StreamingRequestHandler
Public Sub New (bot As IBot, activityProcessor As IStreamingActivityProcessor, connection As StreamingConnection, Optional audience As String = Nothing, Optional logger As ILogger = Nothing)

Parameters

bot
IBot

The bot for which we handle requests.

activityProcessor
IStreamingActivityProcessor

The processor for incoming requests.

connection
StreamingConnection

Connection used to send requests to the transport.

audience
String

The specified recipient of all outgoing activities.

logger
ILogger

Logger implementation for tracing and debugging information.

Applies to

StreamingRequestHandler(IBot, IStreamingActivityProcessor, WebSocket, String, ILogger)

Initializes a new instance of the StreamingRequestHandler class and establishes a connection over a WebSocket to a streaming channel.

public StreamingRequestHandler (Microsoft.Bot.Builder.IBot bot, Microsoft.Bot.Builder.Streaming.IStreamingActivityProcessor activityProcessor, System.Net.WebSockets.WebSocket socket, string audience, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Builder.Streaming.StreamingRequestHandler : Microsoft.Bot.Builder.IBot * Microsoft.Bot.Builder.Streaming.IStreamingActivityProcessor * System.Net.WebSockets.WebSocket * string * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Builder.Streaming.StreamingRequestHandler
Public Sub New (bot As IBot, activityProcessor As IStreamingActivityProcessor, socket As WebSocket, audience As String, Optional logger As ILogger = Nothing)

Parameters

bot
IBot

The bot for which we handle requests.

activityProcessor
IStreamingActivityProcessor

The processor for incoming requests.

socket
WebSocket

The base socket to use when connecting to the channel.

audience
String

The specified recipient of all outgoing activities.

logger
ILogger

Logger implementation for tracing and debugging information.

Remarks

The audience represents the recipient at the other end of the StreamingRequestHandler's streaming connection. Some acceptable audience values are as follows:

Applies to

StreamingRequestHandler(IBot, IStreamingActivityProcessor, String, String, ILogger)

Initializes a new instance of the StreamingRequestHandler class and establishes a connection over a Named Pipe to a streaming channel.

public StreamingRequestHandler (Microsoft.Bot.Builder.IBot bot, Microsoft.Bot.Builder.Streaming.IStreamingActivityProcessor activityProcessor, string pipeName, string audience, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Builder.Streaming.StreamingRequestHandler : Microsoft.Bot.Builder.IBot * Microsoft.Bot.Builder.Streaming.IStreamingActivityProcessor * string * string * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Builder.Streaming.StreamingRequestHandler
Public Sub New (bot As IBot, activityProcessor As IStreamingActivityProcessor, pipeName As String, audience As String, Optional logger As ILogger = Nothing)

Parameters

bot
IBot

The bot for which we handle requests.

activityProcessor
IStreamingActivityProcessor

The processor for incoming requests.

pipeName
String

The name of the Named Pipe to use when connecting to the channel.

audience
String

The specified recipient of all outgoing activities.

logger
ILogger

Logger implementation for tracing and debugging information.

Remarks

The audience represents the recipient at the other end of the StreamingRequestHandler's streaming connection. Some acceptable audience values are as follows:

Applies to