@sentry/google-cloud-serverless
Version:
Official Sentry SDK for Google Cloud Functions
11 lines (10 loc) • 388 B
TypeScript
import { HttpFunction, WrapperOptions } from './general';
/**
* Wraps an HTTP function handler adding it error capture and tracing capabilities.
*
* @param fn HTTP Handler
* @param options Options
* @returns HTTP handler
*/
export declare function wrapHttpFunction(fn: HttpFunction, wrapOptions?: Partial<WrapperOptions>): HttpFunction;
//# sourceMappingURL=http.d.ts.map