LibOss.Http protocol (lib_oss v0.3.0)

View Source

Summary

Types

t()

All the types that implement this protocol.

Functions

Perform an HTTP request.

Types

t()

@type t() :: term()

All the types that implement this protocol.

Functions

do_request(http, req)

@spec do_request(
  http :: t(),
  req :: LibOss.Model.Http.Request.t()
) :: {:ok, LibOss.Model.Http.Response.t()} | {:error, LibOss.Exception.t()}

Perform an HTTP request.