import { Client } from "https://deno.land/x/appwrite@12.1.0/mod.ts";
Methods
addHeader(key: string, value: string): this
call()
method: string,
path?: string,
headers?: Payload,
params?: Payload,
responseType?: string,
setEndpoint(endpoint: string): this
setForwardedUserAgent(value: string): this
Set ForwardedUserAgent
The user agent string of the client that made the request
setJWT(value: string): this
Set JWT
Your secret JSON Web Token
setKey(value: string): this
Set Key
Your secret API key
setLocale(value: string): this
Set Locale
setProject(value: string): this
Set Project
Your project ID
setSession(value: string): this
Set Session
The user session to authenticate with
Static Methods
flatten(data: Payload, prefix?): Payload