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

x/openai/core.ts>APIClient#buildHeaders

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
method APIClient.prototype.buildHeaders
import { APIClient } from "https://deno.land/x/openai@v4.52.0/core.ts";

Parameters

unnamed 0: { options: FinalRequestOptions; headers: Record<string, string | null | undefined>; contentLength: string | null | undefined; }

Returns

Record<string, string>