roughtime icon indicating copy to clipboard operation
roughtime copied to clipboard

Have `CreateRequest()` return a `*Request`

Open cjpatton opened this issue 6 months ago • 0 comments

At the moment this function returns the serialized request and, separately, the nonce used to verify the response. One way to clean up this API is to return a *Request that the caller serializes itself before sending to the server.

Originally posted by @lukevalenta in https://github.com/cloudflare/roughtime/pull/59#discussion_r1708239188

cjpatton avatar Aug 08 '24 14:08 cjpatton