hetzner-ts
    Preparing search index...

    Class HetznerAPI

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    baseUrl: string
    token: string

    Accessors

    Methods

    • Type Parameters

      • T

      Parameters

      • endpoint: string
      • options: RequestInit = {}

      Returns Promise<{ response: T; success: true } | { response: APIError; success: false }>