UNPKG

raygun

Version:

Raygun package for Node.js, written in TypeScript

12 lines (11 loc) 496 B
import { IncomingMessage } from "http"; import { SendOptions } from "./types"; export declare function sendBatch(options: SendOptions): Promise<IncomingMessage>; /** * Transport implementation that sends error to Raygun. * Errors are reported back via callback. * @param options - without callback * @param path - service endpoint * @returns Promise with IncomingMessage or rejected with Error */ export declare function send(options: SendOptions, path?: string): Promise<IncomingMessage>;