InfluxEx.HTTP.Response (influx_ex v0.2.0)

A response from the InfluxDB server

Link to this section Summary

Functions

Make a new response structure

Link to this section Types

@type t() :: %InfluxEx.HTTP.Response{
  body: map() | binary() | list(),
  status_code: InfluxEx.HTTP.status_code()
}

Link to this section Functions

Link to this function

new(status_code, body)

@spec new(InfluxEx.HTTP.status_code(), binary()) :: t()

Make a new response structure