codeql-action/node_modules/twirp-ts/build/twirp/context.d.ts
Angela P Wen a196a714b8
Bump artifact dependencies if CODEQL_ACTION_ARTIFACT_V2_UPGRADE enabled (#2482)
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
Co-authored-by: Henry Mercer <henrymercer@github.com>
2024-10-01 09:59:05 -07:00

11 lines
405 B
TypeScript

/// <reference types="node" />
import * as http from "http";
import { TwirpContentType } from "./request";
export interface TwirpContext<Request = http.IncomingMessage, Response = http.ServerResponse> {
readonly packageName: string;
readonly serviceName: string;
readonly methodName: string;
readonly contentType: TwirpContentType;
readonly req: Request;
readonly res: Response;
}