Class CRUDServiceBase<TClient>
- Namespace
- Glitch9.IO.Networking.RESTApi
Base class for CRUD services, providing common properties and methods. If the service requires something that does not fit CRUDService<TClient, TData, TRequest, Tquery>, inherit from this class and implement the required methods.
public abstract class CRUDServiceBase<TClient> where TClient : CRUDClient<TClient>
Type Parameters
TClientThe REST client type, which must inherit from CRUDClient<TSelf>.
- Inheritance
-
CRUDServiceBase<TClient>
- Derived
-
CRUDService<TClient, TData, TRequest, Tquery>
- Inherited Members
- Extension Methods
Constructors
CRUDServiceBase(TClient, params RESTHeader[])
protected CRUDServiceBase(TClient client, params RESTHeader[] betaHeaders)
Parameters
clientTClientbetaHeadersRESTHeader[]
CRUDServiceBase(TClient, bool, string)
protected CRUDServiceBase(TClient client, bool betaService = false, string customApiKey = null)
Parameters
CRUDServiceBase(TClient, string, params RESTHeader[])
protected CRUDServiceBase(TClient client, string customApiKey, params RESTHeader[] betaHeaders)
Parameters
clientTClientcustomApiKeystringbetaHeadersRESTHeader[]