RelationalAI / rai-sdk-java

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

Add support to custom headers #22

Closed NRHelmi closed 2 years ago

NRHelmi commented 2 years 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");