UNPKG

typerinth

Version:

A TypeScript library for interacting with the Modrinth API.

11 lines (10 loc) 268 B
export declare abstract class RequestBody { /** * Get the Content-Type of the request body. */ abstract getContentType(): string; /** * Get the formatted body to send in the request. */ abstract getFormattedBody(): string | null; }