Sage Intacct SDK for .NET
Intacct.SDK.Xml.Request.MockHandler Class Reference
Inheritance diagram for Intacct.SDK.Xml.Request.MockHandler:

Public Member Functions

 MockHandler ()
 
 MockHandler (List< HttpResponseMessage > queue)
 

Data Fields

List< HttpResponseMessage > Queue
 

Protected Member Functions

override Task< HttpResponseMessage > SendAsync (HttpRequestMessage request, CancellationToken cancellationToken)
 

Protected Attributes

HttpResponseMessage LastResponse
 

Constructor & Destructor Documentation

◆ MockHandler() [1/2]

Intacct.SDK.Xml.Request.MockHandler.MockHandler ( )
inline

◆ MockHandler() [2/2]

Intacct.SDK.Xml.Request.MockHandler.MockHandler ( List< HttpResponseMessage >  queue)
inline

Member Function Documentation

◆ SendAsync()

override Task<HttpResponseMessage> Intacct.SDK.Xml.Request.MockHandler.SendAsync ( HttpRequestMessage  request,
CancellationToken  cancellationToken 
)
inlineprotected

Field Documentation

◆ LastResponse

HttpResponseMessage Intacct.SDK.Xml.Request.MockHandler.LastResponse
protected

◆ Queue

List<HttpResponseMessage> Intacct.SDK.Xml.Request.MockHandler.Queue