public void ShouldUseCredentialApplier()
 {
     var credentialApplier = new QueryPathCredentialApplier(new Dictionary<string, string> { { "header_auth", "value_auth" } });
     var entryPointService = new EntryPointService("http://www.example.com/");
     entryPointService.WithCredentialApplier(credentialApplier);
     entryPointService.Get();
 }
Esempio n. 2
0
 private Restfulie(string uri, IRequestDispatcher dispatcher)
 {
     EntryPointService = new EntryPointService(uri, dispatcher);
 }