Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "wordpress-packages/real-queue/lib/utils/request"

Index

Variables

Functions

Variables

Let FACTORY_MEMO

FACTORY_MEMO: ReturnType<typeof createRequestFactory>

Functions

get

  • Returns { request: request; urlBuilder: urlBuilder }

Const request

  • request(...args: [Omit<{ multipart?: boolean | MultiPartOptions; params?: TParams; request?: TRequest; sendRestNonce?: boolean; settings?: Partial<{}> } & UrlBuilderArgs, "options"> & Optional<{ multipart?: boolean | MultiPartOptions; params?: TParams; request?: TRequest; sendRestNonce?: boolean; settings?: Partial<{}> } & UrlBuilderArgs, "options"> & { params?: Params; request?: Request }]): Promise<Response>
  • Parameters

    • Rest ...args: [Omit<{ multipart?: boolean | MultiPartOptions; params?: TParams; request?: TRequest; sendRestNonce?: boolean; settings?: Partial<{}> } & UrlBuilderArgs, "options"> & Optional<{ multipart?: boolean | MultiPartOptions; params?: TParams; request?: TRequest; sendRestNonce?: boolean; settings?: Partial<{}> } & UrlBuilderArgs, "options"> & { params?: Params; request?: Request }]

    Returns Promise<Response>

Const urlBuilder

  • Parameters

    Returns string

Generated using TypeDoc