invoke
Invokes a remote edge function. The authorization token is automatically added to the request.
Parameters
The function to invoke. If name of the function is renamed, use the slug after URL
The request builder to configure the request
The region where the function is invoked
Throws
or one of its subclasses if receiving an error response
if the request timed out
on network related issues
Invokes a remote edge function. The authorization token is automatically added to the request. Note, if you want to serialize body to json, you need to add the HttpHeaders.ContentType header yourself.
Parameters
The function to invoke. If name of the function is renamed, use the slug after URL
The body of the request
Headers to add to the request
The region where the function is invoked
Throws
or one of its subclasses if receiving an error response
if the request timed out
on network related issues
Invokes a remote edge function. The authorization token is automatically added to the request.
Parameters
The function to invoke. If name of the function is renamed, use the slug after URL
Headers to add to the request
The region where the function is invoked
Throws
or one of its subclasses if receiving an error response
if the request timed out
on network related issues