WebSocketTransport 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.
An implementation of ITransportSender and ITransportReceiver for use with a WebSocket transport.
public class WebSocketTransport : IDisposable, Microsoft.Bot.Streaming.Transport.ITransportReceiver, Microsoft.Bot.Streaming.Transport.ITransportSender
type WebSocketTransport = class
interface ITransportSender
interface ITransport
interface IDisposable
interface ITransportReceiver
Public Class WebSocketTransport
Implements IDisposable, ITransportReceiver, ITransportSender
- Inheritance
-
WebSocketTransport
- Implements
Constructors
WebSocketTransport(WebSocket) |
Initializes a new instance of the WebSocketTransport class. |
Properties
IsConnected |
Gets a value indicating whether the transport is connected. |
Methods
Close() |
Closes the transport. |
Dispose() |
Disposes the object and releases any related objects owned by the class. |
Dispose(Boolean) |
Disposes objected used by the class. |
ReceiveAsync(Byte[], Int32, Int32) |
Called to receive data from the wire transport. |
SendAsync(Byte[], Int32, Int32) |
Called to send data to the wire transport. |