TestServer.CreateWebSocketClient 方法

定義

建立 WebSocketClient 與測試伺服器互動的。

public:
 Microsoft::AspNetCore::TestHost::WebSocketClient ^ CreateWebSocketClient();
public Microsoft.AspNetCore.TestHost.WebSocketClient CreateWebSocketClient ();
member this.CreateWebSocketClient : unit -> Microsoft.AspNetCore.TestHost.WebSocketClient
Public Function CreateWebSocketClient () As WebSocketClient

傳回

WebSocketClient

適用於