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); }
internal CallConnection(string callConnectionId, CallConnectionsRestClient callConnectionRestClient, ClientDiagnostics clientDiagnostics) { this.CallConnectionId = callConnectionId; this.RestClient = callConnectionRestClient; this._clientDiagnostics = clientDiagnostics; }