RRPproxy.Connection (RRPproxy.net API v0.1.7) View Source

Documentation for RRPproxy.Connection which provides low-level API functionality to the rrpproxy.net API.

It is used for low-level communication and should not be used directly by users of this library.

Link to this section Summary

Link to this section Functions

Link to this function

call(command, params \\ [], client \\ RRPproxy.Client.new(), is_multi_line_response \\ false, is_single_result \\ false)

View Source

Specs

call(
  String.t(),
  keyword(),
  Tesla.Env.client() | nil,
  boolean() | nil,
  boolean() | nil
) :: RRPproxy.return()

Makes calls against the API with the given request.

Link to this function

new(client \\ RRPproxy.Client.new())

View Source

Specs

new(struct() | nil) :: Tesla.Env.client()

Creates a new API Connection with credentials.