diff --git a/src/IO.Ably.Shared/AblyRest.cs b/src/IO.Ably.Shared/AblyRest.cs index 452114685..38c2feac4 100644 --- a/src/IO.Ably.Shared/AblyRest.cs +++ b/src/IO.Ably.Shared/AblyRest.cs @@ -308,6 +308,16 @@ internal async Task HttpPaginatedRequestInternal(Paginate return await ExecuteHttpPaginatedRequest(request, requestParams, HttpPaginatedRequestInternal); } + /// + /// Make a generic HTTP request against an endpoint representing a collection + /// of some type; this is to provide a forward compatibility path for new APIs. + /// + /// http method. + /// the path component of the resource URI. + /// (optional; may be null): any parameters to send with the request; see API-specific documentation. + /// (optional; may be null): JToken instance of RequestBody. It will be sent as a json object. + /// (optional; may be null): any additional headers to send; see API-specific documentation. + /// a page of results. [Obsolete("Use RequestV2 instead")] public async Task Request(string method, string path, Dictionary requestParams = null, JToken body = null, Dictionary headers = null) {