createCacheKey
createCacheKey<
Req,Res>(endpoint,request):CacheKeyResult<Req>
Defined in: wp-typia-rest/src/react-client-cache-key.ts:110
Build the normalized cache key for one endpoint request pair.
Type Parameters
Section titled “Type Parameters”Req
Res
Parameters
Section titled “Parameters”endpoint
Section titled “endpoint”ApiEndpoint<Req, Res>
Endpoint contract used to namespace cache entries.
request
Section titled “request”Req
Request payload used to derive the stable cache key.
Returns
Section titled “Returns”CacheKeyResult<Req>
The normalized cache key plus the request validation result.