build_http_header_x_decaf_url: Builds and returns the "X-DECAF-URL" HTTP header for the HTTP...

View source: R/decaf_client.R

build_http_header_x_decaf_urlR Documentation

Builds and returns the "X-DECAF-URL" HTTP header for the HTTP calls originating from this library.

Description

For historical reasons, this function also adds X-DECAF-APIURL and X-DECAF-API-URL headers, too. These will be removed at some point in the future.

Usage

build_http_header_x_decaf_url(url)

Arguments

url

Base URL of the remote DECAF Instance.

Value

A named-list for X-DECAF-URL, X-DECAF-APIURL and X-DECAF-API-URL key-value pairs.


telostat/rdecaf documentation built on June 22, 2022, 8:35 p.m.