Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/appwrite/src/client.ts>Client

[READ-ONLY] Official Appwrite Deno SDK 🦕
Latest
class Client
import { Client } from "https://deno.land/x/appwrite@11.0.0/src/client.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