C# 클래스 RecurringIntegrationApp.HttpClientHelper

Helper class for Enqueue/ Job status http requests
파일 보기 프로젝트 열기: Microsoft/Dynamics-AX-Integration 1 사용 예제들

공개 메소드들

메소드 설명
GetEnqueueUri ( ) : Uri

Get the Enqueue URI

GetRequestAsync ( Uri uri ) : Task

Http Get requests for use with JobStatus API

SendPostRequestAsync ( Uri uri, Stream bodyStream, string externalCorrelationHeaderValue = null ) : Task

Post request

메소드 상세

GetEnqueueUri() 공개 메소드

Get the Enqueue URI
public GetEnqueueUri ( ) : Uri
리턴 System.Uri

GetRequestAsync() 공개 메소드

Http Get requests for use with JobStatus API
public GetRequestAsync ( Uri uri ) : Task
uri System.Uri Request URI
리턴 Task

SendPostRequestAsync() 공개 메소드

Post request
public SendPostRequestAsync ( Uri uri, Stream bodyStream, string externalCorrelationHeaderValue = null ) : Task
uri System.Uri Enqueue endpoint URI
bodyStream Stream Body stream
externalCorrelationHeaderValue string
리턴 Task