C# 클래스 Microsoft.Azure.SignalR.RestClient

파일 보기 프로젝트 열기: Azure/azure-signalr

공개 메소드들

메소드 설명
RestClient ( ) : System
RestClient ( IHttpClientFactory httpClientFactory, JsonSerializerSettings jsonSerializerSettings, bool enableMessageTracing ) : System
SendAsync ( Microsoft.Azure.SignalR.RestApiEndpoint api, HttpMethod httpMethod, string productInfo, string methodName = null, Array args = null, Func handleExpectedResponse = null, CancellationToken cancellationToken = default ) : Task
ThrowExceptionOnResponseFailureAsync ( HttpResponseMessage response ) : Task

비공개 메소드들

메소드 설명
AddTracingId ( Microsoft.Azure.SignalR.RestApiEndpoint api ) : void
BuildRequest ( Microsoft.Azure.SignalR.RestApiEndpoint api, HttpMethod httpMethod, string productInfo, string methodName = null, Array args = null ) : HttpRequestMessage
GenerateHttpRequest ( string url, IDictionary query, HttpMethod httpMethod, Microsoft.Azure.SignalR.PayloadMessage payload, string tokenString, string productInfo ) : HttpRequestMessage
GetUri ( string url, IDictionary query ) : Uri

메소드 상세

RestClient() 공개 메소드

public RestClient ( ) : System
리턴 System

RestClient() 공개 메소드

public RestClient ( IHttpClientFactory httpClientFactory, JsonSerializerSettings jsonSerializerSettings, bool enableMessageTracing ) : System
httpClientFactory IHttpClientFactory
jsonSerializerSettings JsonSerializerSettings
enableMessageTracing bool
리턴 System

SendAsync() 공개 메소드

public SendAsync ( Microsoft.Azure.SignalR.RestApiEndpoint api, HttpMethod httpMethod, string productInfo, string methodName = null, Array args = null, Func handleExpectedResponse = null, CancellationToken cancellationToken = default ) : Task
api Microsoft.Azure.SignalR.RestApiEndpoint
httpMethod HttpMethod
productInfo string
methodName string
args Array
handleExpectedResponse Func
cancellationToken CancellationToken
리턴 Task

ThrowExceptionOnResponseFailureAsync() 공개 메소드

public ThrowExceptionOnResponseFailureAsync ( HttpResponseMessage response ) : Task
response HttpResponseMessage
리턴 Task