Skip to content

SubscriptionRouter

1
function SubscriptionRouter(
2
req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>,
3
res: Response<any, Record<string, any>, number>,
4
next: NextFunction): void

The router for the subscription route.

Parameters

ParameterType
reqRequest<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
resResponse<any, Record<string, any>, number>
nextNextFunction

Returns

void

Source

twitchfy/packages/eventsub/src/webhook/routes/SubscriptionRoute.ts:9