예제 #1
0
 /// <summary>
 ///  执行exec,此接口需要升级Http协议到WebSocket
 /// </summary>
 /// <param name="request">请求参数信息</param>
 /// <returns>请求结果信息</returns>
 public async Task <ExecStartResponse> ExecStart(ExecStartRequest request)
 {
     return(await new ExecStartExecutor().Client(this).Execute <ExecStartResponse, ExecStartResult, ExecStartRequest>(request).ConfigureAwait(false));
 }
예제 #2
0
 /// <summary>
 ///  执行exec,此接口需要升级Http协议到WebSocket
 /// </summary>
 /// <param name="request">请求参数信息</param>
 /// <returns>请求结果信息</returns>
 public ExecStartResponse ExecStart(ExecStartRequest request)
 {
     return(new ExecStartExecutor().Client(this).Execute <ExecStartResponse, ExecStartResult, ExecStartRequest>(request));
 }