Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "interface/http-interface"

Index

Type aliases

Endpoint

Endpoint: object

Describes the components of an endpoint.

Type declaration

  • Optional args?: object
    • [key: string]: any
  • return: any

HttpHandlers

HttpHandlers: object & object

Utility type for generating http handlers given an HttpInterface.

HttpInterface

HttpInterface: object

Defines the format for an HttpInterface; a collection of endpoints, grouped by method.

Type declaration

Methods

Methods: "get" | "delete" | "post" | "put" | "patch"

All supported HTTP methods.

Generated using TypeDoc