Skip to content

Workery / routing

Module: routing

Table of contents

Classes

Functions

Functions

fixPathSlashes

fixPathSlashes(path): string

Parameters

NameType
pathstring

Returns

string

Defined in

src/routing.ts:15


generateRouteSummary

generateRouteSummary(method, path): string

Parameters

NameType
methodHTTPMethod
pathstring

Returns

string

Defined in

src/routing.ts:23


searchParamsToQueries

searchParamsToQueries(searchParams): Record<string, string[]>

Parameters

NameType
searchParamsURLSearchParams

Returns

Record<string, string[]>

Defined in

src/routing.ts:187