Skip to content

@valoranchi/riot-client / index / dispatchApiRoute

Function: dispatchApiRoute() ​

dispatchApiRoute(client, namespace, methodName, query, body, req): Promise<unknown>

Defined in: src/serve/routes.ts:834

Parameters ​

client ​

RiotClient

namespace ​

string

methodName ​

string

query ​

Record<string, string>

body ​

Record<string, unknown>

req ​

IncomingMessage

Returns ​

Promise<unknown>

Not affiliated with Riot Games