crest/createRequest

Creates a function that initiates a CREST request.

The request will be preconfigured for the given protocol and resource versions.

Source:
Parameters:
Name Type Description
protocolVersion string CREST protocol version.
resourceVersion string Resource version.
middleware Array.<middleware> Middleware.
Returns:
Function that initiates a CREST request. The returned function's signature parameters exactly match that of fetch().
Type
function