Type alias RequestOptions

RequestOptions: {
    body?: BodyInit | Buffer;
    headers: Record<string, string>;
    method: HTTPMethods;
    url: string;
}

Type declaration

  • Optional body?: BodyInit | Buffer
  • headers: Record<string, string>
  • method: HTTPMethods
  • url: string

Generated using TypeDoc