Current section
Files
Jump to
Current section
Files
lib/rest/http.ex
defmodule Astra.Rest.Http do
@moduledoc """
`Astra.Rest.Http` provides direct access to all HTTP methods implemented in `HTTPoison`. It is used by `Astra.Rest` to add required headers and security to request, but could also be used to directly access unimplemented functionality in the future.
"""
use HTTPoison.Base
use Astra.HttpBase, path: "rest/v2/keyspaces/"
end