Options
All
  • Public
  • Public/Protected
  • All
Menu

Module activitypub/actor

Index

Functions

getActor

  • getActor(uri: string, refresh?: boolean): Promise<APActor | undefined>
  • Finds an ActivityPub actor by URI

    Parameters

    • uri: string

      The actor URI

    • refresh: boolean = true

      Always refetch the actor from a remote URL

    Returns Promise<APActor | undefined>

    An APActor model for the URI

getRemoteActor

  • getRemoteActor(uri: string): Promise<APActor>
  • Polls a remote server to retrieve an ActivityPub actor

    Parameters

    • uri: string

      An actor ActivityPub URI

    Returns Promise<APActor>

    An APActor model for the URI

Generated using TypeDoc