Internal Optional headers?: Record<string, string>Optional proxy?: { host: string; port?: number | undefined; protocol?: "http" | "https" | undefined; auth?: { username: string; password: string; } | undefined; }Private Readonly pluginOptional auth?: { username: string; password: string; }Optional port?: numberOptional protocol?: "http" | "https"Returns the current request options.
Sets new request options to be used as defaults for all HTTP requests made by this conversation.
The new request options to use.
Optional headers?: Record<string, string>Optional proxy?: { host: string; port?: number | undefined; protocol?: "http" | "https" | undefined; auth?: { username: string; password: string; } | undefined; }Set to true to shallow merge the new request options with the existing request options instead of replacing them.
Serializes the ConversationRequestOptions to JSON.
A JSON representation of the ConversationRequestOptions instance.
Optional headers?: Record<string, string>Optional proxy?: { host: string; port?: number | undefined; protocol?: "http" | "https" | undefined; auth?: { username: string; password: string; } | undefined; }Generated using TypeDoc
Holds the callable functions of a
Conversation.This class is used internally by the library and is not meant to be instantiated by consumers of the library.