Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RemoteGrobberClient

Remote version of a GrobberClient. Implements all the API functions GrobberClient does, but the work is performed by RemoteGrobberClientServer.

This client ought to be used by the content scripts in order to create a shared cache.

Hierarchy

  • RemoteGrobberClient

Implements

Index

Constructors

constructor

Properties

Private Optional _port

_port: runtime.Port

Private portName

portName: string

Private waitingPromises

waitingPromises: object

Type declaration

  • [id: string]: Array<function>

Accessors

Private port

  • get port(): Port

Methods

checkGrobberInfo

Private connect

  • connect(): void

getAnimeForTitle

getAnimeInfo

  • getAnimeInfo(uid: string): Promise<AnimeInfo>

getEpisode

  • getEpisode(uid: string, episodeIndex: number): Promise<Episode>

getGrobberInfo

  • getGrobberInfo(baseURL?: undefined | string): Promise<GrobberInfo>

Private handleMessage

  • handleMessage(message: Message): void

searchAnime

Private sendMessage

  • sendMessage(procedure: string, body: any): Promise<any>

Private waitForAnswer

Generated using TypeDoc