Contains methods used to get correlationIds, commands and bodies from the Azure Function context.
Description
The AzureFunctionContextHelper class contains methods used to get correlationIds, commands and bodies from the Azure Function context.
Static methods
getCorrelationId
Returns a correlationId from the Azure Function context.
public static
getCorrelationId(context: any): string
- context: any - Azure Function context.
- returns: string - returned correlationId from context.
getCommand
Returns a command from the Azure Function context.
public static
getCommand(context: any): string
- context: any - Azure Function context.
- returns: string - returned command from context.
getParametrs
Returns a body from the Azure Function context http request.
public static
getParametrs(context: any): Parameters
- context: any - Azure Function context.
- returns: Parameters - returned body from context.