Options
All
  • Public
  • Public/Protected
  • All
Menu

Set the router with the endpoints and middlewares

see

Setting router

Hierarchy

  • SetRouter

Index

Constructors

constructor

Properties

Private authConnection

authConnection: boolean

Private connectionMode

connectionMode: boolean

Private connectionPath

connectionPath: string

Private endpoints

endpoints: IEndpoint[]

Private road

road: Road

Private router

router: SimpleRouter

Private routerConnect

routerConnect: EndpointsConnect = []

Private verbose

verbose: boolean

Methods

Private buildMiddlewares

Private checkAuthConnect

  • checkAuthConnect(token: string, endpoints: IEndpoint[]): void

Private getEndpoints

Private infoRequest

  • infoRequest(): void

Private setAuthConnect

  • setAuthConnect(): void

Private setConnection

  • setConnection(): void

Private setRouterConnect

Generated using TypeDoc