import { AzureFunction , Context , HttpRequest } from "@azure/functions" ; const httpTrigger = async function ( context , req , connectionInfo ) : Promise < void > { context . log ( 'HTTP trigger function processed a request.' ) ; context . res = { body : connectionInfo } ; } ; export default httpTrigger ;