Postscript (postscript v1.0.3)

Summary

Functions

Send a request to the Postscript API.

Types

Link to this type

http_headers_t()

@type http_headers_t() :: [{String.t(), String.t()}]
Link to this type

http_method_t()

@type http_method_t() :: :delete | :get | :head | :patch | :post | :put
Link to this type

http_status_code_t()

@type http_status_code_t() :: pos_integer()
Link to this type

response_t()

@type response_t() ::
  {:ok, Postscript.Response.t()} | {:error, Postscript.Response.t() | any()}

Functions

Link to this function

request(operation, config)

@spec request(Postscript.Operation.t(), Keyword.t()) :: response_t()

Send a request to the Postscript API.