예제 #1
0
 private CallingServerClient(string endpoint, HttpPipeline httpPipeline, CallingServerClientOptions options)
 {
     _pipeline                = httpPipeline;
     _resourceEndpoint        = endpoint;
     _clientDiagnostics       = new ClientDiagnostics(options);
     _contentDownloader       = new(this);
     CallConnectionRestClient = new CallConnectionsRestClient(_clientDiagnostics, httpPipeline, endpoint, options.ApiVersion);
     ServerCallRestClient     = new ServerCallsRestClient(_clientDiagnostics, httpPipeline, endpoint, options.ApiVersion);
 }
예제 #2
0
 internal CallConnection(string callConnectionId, CallConnectionsRestClient callConnectionRestClient, ClientDiagnostics clientDiagnostics)
 {
     this.CallConnectionId   = callConnectionId;
     this.RestClient         = callConnectionRestClient;
     this._clientDiagnostics = clientDiagnostics;
 }