Class: UriVersionResolver
A resolver for extracting the API version from the HTTP request URI.
Implements
Constructors
Constructor
new UriVersionResolver():
UriVersionResolver
Returns
UriVersionResolver
Methods
resolve()
resolve(
req,_options):string|undefined
Resolves the version from the given HTTP request based on the provided version options.
Parameters
req
The HTTP request from which to resolve the version.
_options
The version options that may influence the resolution process.
Returns
string | undefined
The resolved version as a string, or undefined if no version could be resolved.