메소드 | 설명 | |
---|---|---|
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 |
public RestClient ( IHttpClientFactory httpClientFactory, JsonSerializerSettings jsonSerializerSettings, bool enableMessageTracing ) : System | ||
httpClientFactory | IHttpClientFactory | |
jsonSerializerSettings | JsonSerializerSettings | |
enableMessageTracing | bool | |
리턴 | System |
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 |
public ThrowExceptionOnResponseFailureAsync ( HttpResponseMessage response ) : Task | ||
response | HttpResponseMessage | |
리턴 | Task |