Options
All
  • Public
  • Public/Protected
  • All
Menu

Reflection based configurable HTTP and HTTPS API request wrapper.

Hierarchy-Diagram

UML class diagram of TapjawDefaultConnector

Legend

icon for an abstract class in the UML class diagram abstract class
icon for a public property in the UML class diagram public property
icon for a protected property in the UML class diagram protected property
icon for a public method in the UML class diagram public method
icon for a protected method in the UML class diagram protected method
icon for a private method in the UML class diagram private method

Hierarchy

Index

Constructors

Properties

authenticatorData: unknown

Abetiary container for authentication data which can be used in conjunction with a request to an API endpoint.

enableGzip: boolean = false

Enable/Disable gzip decompressing of API response.

host: string
lastResponse: null | IncomingMessage = null

Containers the response object of the previous request.

port: number = 80
protocol: TapjawHttpConnectorProtocol = TapjawHttpConnectorProtocol.HTTPS
useDecoding: undefined = ...

Apply a character set encoding to decode the API response buffer.

This happens prior to encoding, so you can perform a decoding and encoding in conjunction with TapjawHttpConnector.useEncoding.

useEncoding: undefined = ...

Apply a character set encoding to encode the response prior to returning.

This happens after decoding the respone buffer, so you can decode the buffer prior to encoding the buffer. you can also simply encode the buffer without any prior decoding.

Methods

  • hasSecurity(): boolean
  • setDecoding(encoding: null | string): void
  • setEncoding(encoding: null | string): void

Generated using TypeDoc