Rest Api Manager Impl
class RestApiManagerImpl(token: String, yde: YDEImpl, client: OkHttpClient) : RestApiManager(source)
Functions
Link copied to clipboard
Adds a query parameters to the request
Link copied to clipboard
open override fun delete(body: RequestBody?, endPoint: EndPoint.IEnumEndpoint, vararg params: String): DeleteRestApi
Deletes something from the API.
Link copied to clipboard
Gets a certain endpoint from the API.
Link copied to clipboard
open override fun patch(body: RequestBody, endPoint: EndPoint.IEnumEndpoint, vararg params: String): PatchRestApi
Patches something from the API.
Link copied to clipboard
open override fun post(body: RequestBody?, endPoint: EndPoint.IEnumEndpoint, vararg params: String): PostRestApi
Posts something to the API.
Pots something to the API.
Link copied to clipboard
open override fun put(body: RequestBody?, endPoint: EndPoint.IEnumEndpoint, vararg params: String): PutRestApi
Puts something to the API.