Del via


WebSocketTransport Class

Definition

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.

Applies to