View Source JSON.LD.DocumentLoader.Default (JSON-LD.ex v0.3.8)

Default implementation of the JSON.LD.DocumentLoader behaviour.

Summary

Functions

@spec load(String.t(), JSON.LD.Options.t()) ::
  {:ok, JSON.LD.DocumentLoader.RemoteDocument.t()} | {:error, any()}

Callback implementation for JSON.LD.DocumentLoader.load/2.