postgrestx-monorepo / core/src / HttpRequest
Interface: HttpRequest
Defined in: packages/core/src/postgrest/http.ts:8
Minimal HTTP client interface abstraction used by PostgrestClient.
Implementations only need to provide a request method. A small fetch-based implementation is provided via createFetchHttpClient.
Properties
method
method:
"GET"|"POST"|"PATCH"|"DELETE"|"PUT"|"HEAD"
Defined in: packages/core/src/postgrest/http.ts:9
url
url:
string
Defined in: packages/core/src/postgrest/http.ts:10
headers?
optionalheaders:Record<string,string>
Defined in: packages/core/src/postgrest/http.ts:11
body?
optionalbody:unknown
Defined in: packages/core/src/postgrest/http.ts:12