Skip to main content

include/rocksky_Client.hrl

-record(client, {
    base_url :: binary(),
    token :: gleam@option:option(binary()),
    user_agent :: binary(),
    extra_headers :: list({binary(), binary()}),
    send :: fun((gleam@http@request:request(binary())) -> {ok,
            gleam@http@response:response(binary())} |
        {error, binary()})
}).