WebServer interface

Interface representing an Express Application or a Restify Server.

Properties

del
delete
get
post
put

Property Details

del

del?: (path: string, handler: RouteHandler) => void

Property Value

(path: string, handler: RouteHandler) => void

delete

delete?: (path: string, handler: RouteHandler) => void

Property Value

(path: string, handler: RouteHandler) => void

get

get: (path: string, handler: RouteHandler) => void

Property Value

(path: string, handler: RouteHandler) => void

post

post: (path: string, handler: RouteHandler) => void

Property Value

(path: string, handler: RouteHandler) => void

put

put: (path: string, handler: RouteHandler) => void

Property Value

(path: string, handler: RouteHandler) => void