+ * Similar to {@link #sign(SyncHttpSignRequest)}, but takes a lambda to configure a new {@link SyncHttpSignRequest.Builder}.
+ * This removes the need to call {@link SyncHttpSignRequest#builder(IdentityT)}} and
+ * {@link SyncHttpSignRequest.Builder#build()}.
+ *
+ * @param consumer A {@link Consumer} to which an empty {@link SyncHttpSignRequest.Builder} will be given.
+ * @return A signed version of the request.
+ */
+ default SyncSignedHttpRequest sign(Consumer
+ * Similar to {@link #signAsync(AsyncHttpSignRequest)}, but takes a lambda to configure a new
+ * {@link AsyncHttpSignRequest.Builder}. This removes the need to call {@link AsyncHttpSignRequest#builder(IdentityT)}} and
+ * {@link AsyncHttpSignRequest.Builder#build()}.
*
- * @param request The request to sign, with async payload
- * @return A signed version of the input request
+ * @param consumer A {@link Consumer} to which an empty {@link HttpSignRequest.Builder} will be given.
+ * @return A signed version of the request.
*/
- SignedHttpRequest