Packages

Elixir SDK for the Bitmovin REST API

Current section

Files

Jump to
Raw

lib/client.ex

defmodule Bitmovin.Client do
@type url() :: binary()
@type body() :: any()
@type response() :: Tesla.Env.t()
@type error() :: any()
@callback get(url()) :: {:ok, response()} | {:error, error()}
@callback post(url(), body()) :: {:ok, response()} | {:error, error()}
end