コード例 #1
0
        public SpyHttpClientFactory(NetworkCredential credentials = null)
        {
            var spyMessageHandler = new SpyMessageHandler();

            if (credentials != null)
            {
                spyMessageHandler.Credentials = credentials;
            }

            SpyHttpClient = new SpyHttpClient(spyMessageHandler);
        }
コード例 #2
0
 internal SpyHttpClient(SpyMessageHandler spyMessageHandler) : base(spyMessageHandler)
 {
     SpyMessageHandler = spyMessageHandler;
 }