Skip to main content
Latest
method ServerConfiguration.prototype.makeRequestContext
import { ServerConfiguration } from "https://deno.land/x/periskope_maytapi_deno@v1.4.0/servers.ts";

Creates a new request context for this server using the url with variables replaced with their respective values and the endpoint of the request appended.

Parameters

endpoint: string

the endpoint to be queried on the server

httpMethod: HttpMethod

httpMethod to be used