C# Class CompaniesHouse.DelegatingHandlers.CompaniesHouseAuthorizationHandler

Inheritance: System.Net.Http.DelegatingHandler
Datei anzeigen Open project: LiberisLabs/CompaniesHouse.NET Class Usage Examples

Public Methods

Method Description
CompaniesHouseAuthorizationHandler ( string apiKey ) : System

Protected Methods

Method Description
SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task

Private Methods

Method Description
Base64Encode ( string apiKey ) : string

Method Details

CompaniesHouseAuthorizationHandler() public method

public CompaniesHouseAuthorizationHandler ( string apiKey ) : System
apiKey string
return System

SendAsync() protected method

protected SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task
request System.Net.Http.HttpRequestMessage
cancellationToken System.Threading.CancellationToken
return Task