Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HTTPTrigger

Hierarchy

Implements

  • Trigger

Constructors

constructor

Properties

app

app: express.Application

handler

handler: function

Type declaration

    • (err: any, result: any): void
    • Parameters

      • err: any
      • result: any

      Returns void

httpServer

httpServer: any

opts

triggerOptions

triggerOptions: any

useCallback

useCallback: boolean = true

Methods

close

  • close(): Promise<void>

createCallback

  • createCallback(handler: any): (Anonymous function)

createContext

  • createContext(): object
  • Returns object

    • accountId: string
    • region: string
    • requestId: string
    • credentials: object
      • accessKeyId: string
      • accessKeySecret: string
      • securityToken: string
    • function: object
      • handler: string
      • initializationTimeout: number
      • initializer: string
      • memory: number
      • name: string
      • timeout: number
    • service: object
      • logProject: string
      • logStore: string
      • name: string
      • qualifier: string
      • versionId: string

delegate

  • delegate(invokeWrapper: function): Promise<Application>

getEvent

  • getEvent(): any

toArgs

  • toArgs(): Promise<any[]>

Generated using TypeDoc