Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ITransport

Transport Interface for Janus API

export
abstract

Hierarchy

Index

Methods

Abstract dispose

  • dispose(): Promise<void>
  • Cleanup, important in order to prevent connection and memory leaks

    memberof

    HTTPTransport

    Returns Promise<void>

Abstract isAdminEndpoint

  • isAdminEndpoint(): boolean
  • True if this transport is pointing to Admin API

    memberof

    HTTPTransport

    Returns boolean

Abstract request

  • Executes a request against Janus API

    template

    ResponseT response type

    memberof

    HTTPTransport

    Type parameters

    • ResponseT

    Parameters

    Returns Promise<ResponseT>

Abstract waitForReady

  • waitForReady(): Promise<boolean>
  • Waits for the Transport to be ready

    memberof

    HTTPTransport

    Returns Promise<boolean>

Generated using TypeDoc