UNPKG

pipebomb.js

Version:

Library for interacting with Pipe Bomb servers

8 lines (7 loc) 325 B
import Response from "./Response.js"; export default class Request { private responseHandlers; constructor(method: "get" | "delete" | "head" | "options" | "post" | "put" | "patch", url: string, jwt: string, body?: any); addSuccessHandler(callback: (response: Response) => void): this; private sendResponse; }