Class TestHttpMessageHandler
Inheritance
object
System.Net.Http.HttpMessageHandler
System.Net.Http.DelegatingHandler
TestHttpMessageHandler
Implements
System.IDisposable
Inherited Members
System.Net.Http.DelegatingHandler.Dispose(bool)
System.Net.Http.DelegatingHandler.InnerHandler
System.Net.Http.HttpMessageHandler.Dispose()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Algorand.Algod.Test
Assembly: Algorand.dll
Syntax
public class TestHttpMessageHandler : DelegatingHandler, IDisposable
Properties
| Improve this Doc View SourceLastRequest
Declaration
public static HttpRequestMessage LastRequest { get; set; }
Property Value
Type | Description |
---|---|
System.Net.Http.HttpRequestMessage |
NextResponse
Declaration
public static HttpResponseMessage NextResponse { get; set; }
Property Value
Type | Description |
---|---|
System.Net.Http.HttpResponseMessage |
Methods
| Improve this Doc View SourceSendAsync(HttpRequestMessage, CancellationToken)
Declaration
protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Net.Http.HttpRequestMessage | request | |
System.Threading.CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><System.Net.Http.HttpResponseMessage> |
Overrides
System.Net.Http.DelegatingHandler.SendAsync(System.Net.Http.HttpRequestMessage, System.Threading.CancellationToken)
Implements
System.IDisposable