SupabaseHttpClient

abstract class SupabaseHttpClient

The base HttpClients used by all main plugins

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
inline suspend fun delete(url: String, crossinline builder: HttpRequestBuilder.() -> Unit = {}): HttpResponse
inline suspend fun <T> delete(url: String, body: T, contentType: ContentType = ContentType.Any, crossinline builder: HttpRequestBuilder.() -> Unit = {}): HttpResponse
Link copied to clipboard
inline suspend fun <T> deleteJson(url: String, body: T, crossinline builder: HttpRequestBuilder.() -> Unit = {}): HttpResponse
Link copied to clipboard
inline suspend fun get(url: String, crossinline builder: HttpRequestBuilder.() -> Unit = {}): HttpResponse
Link copied to clipboard
inline suspend fun patch(url: String, crossinline builder: HttpRequestBuilder.() -> Unit = {}): HttpResponse
inline suspend fun <T> patch(url: String, body: T, contentType: ContentType = ContentType.Any, crossinline builder: HttpRequestBuilder.() -> Unit = {}): HttpResponse
Link copied to clipboard
inline suspend fun <T> patchJson(url: String, body: T, crossinline builder: HttpRequestBuilder.() -> Unit = {}): HttpResponse
Link copied to clipboard
inline suspend fun post(url: String, crossinline builder: HttpRequestBuilder.() -> Unit = {}): HttpResponse
inline suspend fun <T> post(url: String, body: T, contentType: ContentType = ContentType.Any, crossinline builder: HttpRequestBuilder.() -> Unit = {}): HttpResponse
Link copied to clipboard
inline suspend fun <T> postJson(url: String, body: T, crossinline builder: HttpRequestBuilder.() -> Unit = {}): HttpResponse
Link copied to clipboard
abstract suspend fun prepareRequest(url: String, builder: HttpRequestBuilder.() -> Unit): HttpStatement
Link copied to clipboard
inline suspend fun put(url: String, crossinline builder: HttpRequestBuilder.() -> Unit = {}): HttpResponse
inline suspend fun <T> put(url: String, body: T, contentType: ContentType = ContentType.Any, crossinline builder: HttpRequestBuilder.() -> Unit = {}): HttpResponse
Link copied to clipboard
inline suspend fun <T> putJson(url: String, body: T, crossinline builder: HttpRequestBuilder.() -> Unit = {}): HttpResponse
Link copied to clipboard
abstract suspend fun request(url: String, builder: HttpRequestBuilder.() -> Unit): HttpResponse