Skip to main content
Latest
function createConfiguration
import { createConfiguration } from "https://deno.land/x/periskope_maytapi_deno@v1.4.0/configuration.ts";

Provide your ConfigurationParameters to this function to get a Configuration object that can be used to configure your APIs (in the constructor or for each request individually).

If a property is not included in conf, a default is used:

  • baseServer: server1
  • httpApi: IsomorphicFetchHttpLibrary
  • middleware: []
  • promiseMiddleware: []
  • authMethods: {}

Parameters

optional
conf: ConfigurationParameters = [UNSUPPORTED]

partial configuration