UNPKG

dt-app

Version:

The Dynatrace App Toolkit is a tool you can use from your command line to create, develop, and deploy apps on your Dynatrace environment.

9 lines (8 loc) 595 B
import type { FastifyRequest } from 'fastify'; import type { ResolvedCliOptions } from '../utils/config/cli-options'; import type { IncomingHttpHeaders } from 'http'; import { type Response } from '../utils/request'; /** Sends request to platform with all needed headers and token */ export declare function sendRequestToPlatform(request: FastifyRequest, options: ResolvedCliOptions, authHeader: string): Promise<Response>; /** List of HTTP headers that should be excluded from forwarded requests */ export declare function getFilteredHeaders(headers: IncomingHttpHeaders): IncomingHttpHeaders;