Current section
Files
Jump to
Current section
Files
lib/bingex/http/response.ex
defmodule Bingex.HTTP.Response do
@moduledoc """
Represents an HTTP response from the BingX API.
"""
defstruct [:status, :body, :headers]
@type t() :: %__MODULE__{
status: non_neg_integer(),
headers: [{binary(), binary()}],
body: nil | binary()
}
end