Packages

Elixir client for ClickHouse, a fast open-source Online Analytical Processing (OLAP) database management system. Forked from https://github.com/balance-platform/pillar to support CH25+

Current section

Files

Jump to
caterpillar lib pillar http_client response.ex
Raw

lib/pillar/http_client/response.ex

defmodule Pillar.HttpClient.Response do
@moduledoc """
Wrapper for HTTP response
"""
defstruct [:status_code, :body, :headers]
@type t :: %{
__struct__: __MODULE__,
status_code: pos_integer(),
body: term(),
headers: [tuple()]
}
end