Options
All
  • Public
  • Public/Protected
  • All
Menu

Abstract service client to encapsulate shared AlgodClient and IndexerClient logic

Hierarchy

Index

Constructors

  • new ServiceClient(tokenHeaderIdentifier: string, tokenHeaderOrStrOrBaseClient: string | BaseHTTPClient | TokenHeader, baseServer: string, port?: string | number, defaultHeaders?: Record<string, any>): ServiceClient

Methods

  • Set the default int decoding method for all JSON requests this client creates.

    Parameters

    • method: IntDecoding

      {"default" | "safe" | "mixed" | "bigint"} method The method to use when parsing the response for request. Must be one of "default", "safe", "mixed", or "bigint". See JSONRequest.setIntDecoding for more details about what each method does.

    Returns void

Generated using TypeDoc