Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Environment

Hierarchy

  • Environment

Index

Constructors

constructor

Properties

Protected hookRoutes

hookRoutes: Array<any> = []

Protected logger

logger: Logger

Protected options

Protected router

router: any

Protected server

server: any

Methods

addWebhook

Protected createServer

  • createServer(): void

getAutoManagedFolderDirectory

  • getAutoManagedFolderDirectory(): string

Protected handleHookRequest

  • handleHookRequest(nest: WebhookNest, req: ServerRequest, res: ServerResponse, customHandler?: any): void
  • Handles request and response of the web hook, creates a new job, as well as calling the nest's arrive.

    Parameters

    • nest: WebhookNest
    • req: ServerRequest
    • res: ServerResponse
    • Optional customHandler: any

      Custom request handler.

    Returns void

log

  • log(type: number, message: string, actor?: any, instances?: Array<any>): void

Protected setOptions

toString

  • toString(): string

Generated using TypeDoc