UNPKG

graphdb-workbench

Version:
15 lines (14 loc) 502 B
/** * Represents an HTTP request with its essential properties. */ export declare class HttpRequest { /** The URL of the request. */ url: string; /** The HTTP method of the request (e.g., GET, POST, PUT, DELETE). */ method: string; /** A key-value pair object representing the headers of the request. */ headers: Record<string, string | undefined>; /** The body of the request. Can be of any type or undefined. */ body?: unknown; constructor(data: HttpRequest); }