Skip to content

v0.2.2 Header parameter support

Compare
Choose a tag to compare
@Tomboyo Tomboyo released this 12 Feb 05:41
· 22 commits to main since this release
a6ce9f1

This release adds support for header parameters:

myApi.everyOperaton()
  .myOperation()
  .headers(headers -> headers.xMyHeader("foo"))
  .sendSync();

Every parameter declared by the API may be configured using the .headers() API. For any other headers, the user must set them via the java.net.http API directly.