JSON.LD.DocumentLoader.DefaultClient (JSON-LD.ex v1.0.0)

View Source

Default Tesla HTTP client.

This module provides a minimal HTTP client implementation.

Configuration

The maximum number of redirects to follow can be configured in your config:

config :json_ld, :max_redirects, 10

If not configured, it defaults to 5.

Summary

Functions

Creates a Tesla client with the given headers and redirect handling.

Returns the configured maximum number of redirects to follow.

Functions

client(headers, url, options)

Creates a Tesla client with the given headers and redirect handling.

default_max_redirects()

Returns the configured maximum number of redirects to follow.