Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
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 | |
Résultat | 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 | |
Résultat | Task |
public ThrowExceptionOnResponseFailureAsync ( HttpResponseMessage response ) : Task | ||
response | HttpResponseMessage | |
Résultat | Task |