create

fun create(clock: Clock): RequestMetaInfo(source)

Creates a RequestMetadata instance with a timestamp from the provided clock.

Return

A new RequestMetadata instance with the timestamp from the provided clock.

Parameters

clock

The clock to use for generating the timestamp.