Type Alias TumblrClientCallback

TumblrClientCallback: (
    err: Error | null,
    resp: Record<string, any> | null,
    response?: IncomingMessage | null,
) => void

Handles the response from a client reuest

Type declaration

    • (
          err: Error | null,
          resp: Record<string, any> | null,
          response?: IncomingMessage | null,
      ): void
    • Parameters

      • err: Error | null

        error message

      • resp: Record<string, any> | null

        response body

      • Optionalresponse: IncomingMessage | null

        raw response

      Returns void