From 40caa5777f622002358d6678f5f5044cfe0f6fb2 Mon Sep 17 00:00:00 2001 From: Nate Rickard Date: Fri, 29 Mar 2019 17:10:55 -0400 Subject: [PATCH] made endpoints readonly --- Xamarin.Cognitive.BingSpeech/BingSpeechApiClient.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Xamarin.Cognitive.BingSpeech/BingSpeechApiClient.cs b/Xamarin.Cognitive.BingSpeech/BingSpeechApiClient.cs index e38c98f..5c18775 100644 --- a/Xamarin.Cognitive.BingSpeech/BingSpeechApiClient.cs +++ b/Xamarin.Cognitive.BingSpeech/BingSpeechApiClient.cs @@ -20,10 +20,10 @@ public class BingSpeechApiClient readonly string subscriptionKey; readonly HttpClient client; + readonly Endpoint authEndpoint; + readonly Endpoint speechEndpoint; bool requestRetried; - private Endpoint authEndpoint; - private Endpoint speechEndpoint; /// /// Gets the auth client.