共用方式為


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

傳回

適用於