// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using RESTClient; using System; using System.Collections; namespace Azure.AppServices { public interface IAppServiceClient : IZumoClient { AppServiceTable GetTable(string tableName) where E : class; /// /// Invokes a custom API using GET HTTP method /// IEnumerator InvokeApi(string apiName, Action> callback = null) where T : new(); /// /// Invokes a custom API for HTTP Methods: GET, POST, PUT, PATCH, DELETE /// IEnumerator InvokeApi(string apiName, Method httpMethod, Action> callback = null) where T : new(); /// /// Invokes a custom API with body object /// IEnumerator InvokeApi(string apiName, Method httpMethod, B body, Action> callback = null) where T : new(); } }