Hierarchy

  • HttpTransport

Implements

Constructors

Properties

bodyEncoding: BufferEncoding = 'utf8'

Encoding used for encoding and decoding response and request bodies

cookies: CookieJar = ...
logger: ILogger = ...
multiPartBoundary: string = ...
options: HttpTransportOptions & {
    baseUrl?: string;
    instanceUrl?: string;
}

Options applied to to this HTTP transport

Type declaration

  • Optional baseUrl?: string
  • Optional instanceUrl?: string
enableResponseLogging: boolean = false

Even when debug logging is enable request and response bodies are not logged for performance and security reason. Enabling this flag enables logging of both the request and response bodies including headers

httpAgent: Agent = ...

Default shared HTTP agent used by this HttpTransport used for connection pooling

options: HttpTransportOptions = ...

Default configuration for the transport options. When no specific value is set for an individual transport the defaults are used instead.

Methods