json_protocol: JSON Protocol Implementation to Connect API Server

Description Usage Arguments Value

View source: R/stack.R

Description

Protocol is an abstraction which allows to send data to server. This function implements JSON-based protocol. It provides token in 'Authorization' header.

Usage

1
json_protocol(server, error = .error)

Arguments

server

A server to connect.

error

An error handling function.

Value

A function that implements JSON protocol.


dstack documentation built on Aug. 12, 2020, 5:08 p.m.