Minimal interface for reading URL query parameters.
IReadableURLSearchParams is a subset of the standard URLSearchParams
interface, containing only the read operations needed for query parameter
parsing. This interface was designed specifically for compatibility with the
Hono.js web framework, which provides its own query
parameter implementation.
The interface exposes:
URLSearchParams.size | size: Number of parameters
URLSearchParams.get | get: Retrieve first value for a key
URLSearchParams.getAll | getAll: Retrieve all values for a key
Use this interface when implementing query parameter handling that needs to
work with both standard URLSearchParams and framework-specific
implementations.
Minimal interface for reading URL query parameters.
IReadableURLSearchParamsis a subset of the standard URLSearchParams interface, containing only the read operations needed for query parameter parsing. This interface was designed specifically for compatibility with the Hono.js web framework, which provides its own query parameter implementation.The interface exposes:
Use this interface when implementing query parameter handling that needs to work with both standard
URLSearchParamsand framework-specific implementations.