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(); }
private Restfulie(string uri, IRequestDispatcher dispatcher) { EntryPointService = new EntryPointService(uri, dispatcher); }