WebSocketClient クラス

定義

ウェブソケットクライアント。

public class WebSocketClient : Microsoft.Bot.Connector.Streaming.Application.StreamingTransportClient
type WebSocketClient = class
    inherit StreamingTransportClient
Public Class WebSocketClient
Inherits StreamingTransportClient
継承

コンストラクター

名前 説明
WebSocketClient(WebSocket, String, RequestHandler, Nullable<TimeSpan>, Nullable<TimeSpan>, ILogger)

WebSocketClient クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
IsConnected

このクライアントが現在接続されているかどうかを示す値が付与されます。

(継承元 StreamingTransportClient)
Logger

ストリーミングクライアントの ILogger インスタンスを取得します。

(継承元 StreamingTransportClient)

メソッド

名前 説明
ConnectAsync()

このタスクはこのクライアントの接続を確立するために使われました。

(継承元 StreamingTransportClient)
ConnectAsync(IDictionary<String,String>, CancellationToken)

クライアント接続を確立し、追加のヘッダーとキャンセルトークンを渡します。

(継承元 StreamingTransportClient)
ConnectAsync(IDictionary<String,String>)

追加のヘッダーを渡して接続を確立します。

(継承元 StreamingTransportClient)
Disconnect()

このクライアントを切断する際に使われた方法。

(継承元 StreamingTransportClient)
DisconnectAsync()

切断。

(継承元 StreamingTransportClient)
Dispose()

ウェブソケットクライアント。

(継承元 StreamingTransportClient)
Dispose(Boolean)

StreamingTransportClientが使用する物品を処分します。

(継承元 StreamingTransportClient)
SendAsync(StreamingRequest, CancellationToken)

このクライアント接続経由でデータを送信するために使用されるタスク。

(継承元 StreamingTransportClient)

イベント

名前 説明
Disconnected

基盤となる接続が切断されたことを知らせるイベントです。

(継承元 StreamingTransportClient)

適用対象