Options
All
  • Public
  • Public/Protected
  • All
Menu

Module activitypub/request

Index

Classes

Interfaces

Functions

Functions

post

  • An HTTP post request

    Parameters

    • urlString: string

      The URL for the request

    • body: string

      The HTTP request body

    Returns Promise<RequestResponse>

    The result of the HTTP request

signedPost

  • An HTTP post request which is signed using HTTP signatures by the passed in actor

    Parameters

    • urlString: string

      The URL for the request

    • body: string

      The HTTP request body

    • actor: APActor

      The ActivityPub actor which will sign the request

    Returns Promise<RequestResponse>

    The result of the HTTP request

Generated using TypeDoc