buildEdgeFunction
fun buildEdgeFunction(function: String, region: FunctionRegion = config.defaultRegion, headers: Headers = Headers.Empty): EdgeFunction(source)
Builds an EdgeFunction which can be invoked multiple times
Parameters
function
The function name. If name of the function is renamed, use the slug after URL
headers
Headers to add to the requests when invoking the function
region
The region where the function is invoked