DSpace.API.Operation protocol (dspace_ex v0.1.0-alpha2)

Copy Markdown View Source

Defines a protocol for executing operations on a DSpace API.

Summary

Types

t()

All the types that implement this protocol.

Functions

Performs a synchronous request on a DSpace API, returning a result or an error.

Performs a streaming request on a DSpace API.

Types

t()

@type t() :: term()

All the types that implement this protocol.

Functions

perform(operation, client, options)

Performs a synchronous request on a DSpace API, returning a result or an error.

stream!(operation, client, options)

Performs a streaming request on a DSpace API.