public WnsServiceConnection(WnsConfiguration configuration, WnsAccessTokenManager accessTokenManager) { AccessTokenManager = accessTokenManager; Configuration = configuration; http = new HttpClient(); http.DefaultRequestHeaders.ExpectContinue = false; //Disable expect-100 to improve latency }
public WnsServiceConnection(WnsConfiguration configuration, WnsAccessTokenManager accessTokenManager) { AccessTokenManager = accessTokenManager; Configuration = configuration; }
public WnsServiceConnectionFactory(WnsConfiguration configuration) { wnsAccessTokenManager = new WnsAccessTokenManager(configuration); Configuration = configuration; }