class ServerConfiguration
implements BaseServerConfiguration
import { ServerConfiguration } from "https://deno.land/x/windmill@v1.32.0/windmill-api/servers.ts";
Represents the configuration of a server including its url template and variable configuration based on the url.
Constructors
new
ServerConfiguration(url: string, variableConfiguration: T)Methods
private
getUrl()makeRequestContext(endpoint: string, httpMethod: HttpMethod): RequestContext
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.