RelationalAI / rai-sdk-java

The RelationalAI Software Development Kit (SDK) for Java.
Apache License 2.0
5 stars 1 forks source link

Add support to custom headers #22

Closed NRHelmi closed 1 year ago

NRHelmi commented 1 year ago

This PR adds support to custom headers and expose the http client

var client = new Client(cfg);
var headers = client.getDefaultHttpHeaders();
headers.put("h1", "v1");