Skip to main content
Module

x/appwrite/mod.ts>Client

[READ-ONLY] Official Appwrite Deno SDK 🦕
Latest
class Client
Re-export
import { Client } from "https://deno.land/x/appwrite@10.0.0/mod.ts";

Properties

endpoint: string
headers: Payload

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 Properties

CHUNK_SIZE
DENO_READ_CHUNK_SIZE: number

Static Methods

flatten(data: Payload, prefix?): Payload