C# Class CompaniesHouse.Tests.StubHttpMessageHandler

Inheritance: System.Net.Http.HttpMessageHandler
Exibir arquivo Open project: LiberisLabs/CompaniesHouse.NET

Public Methods

Method Description
StubHttpMessageHandler ( Uri catchUri, string response ) : System

Protected Methods

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

Method Details

SendAsync() protected method

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

StubHttpMessageHandler() public method

public StubHttpMessageHandler ( Uri catchUri, string response ) : System
catchUri System.Uri
response string
return System