Skip to content

postgrestx-monorepo v0.0.1


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?

optional headers: Record<string, string>

Defined in: packages/core/src/postgrest/http.ts:11


body?

optional body: unknown

Defined in: packages/core/src/postgrest/http.ts:12