WebServer interface
表示 Express 應用程式或 Restify 伺服器的介面。
屬性
del | |
delete | |
get | |
post | |
put |
屬性詳細資料
del
del?: (path: string, handler: RouteHandler) => void
屬性值
(path: string, handler: RouteHandler) => void
delete
delete?: (path: string, handler: RouteHandler) => void
屬性值
(path: string, handler: RouteHandler) => void
get
get: (path: string, handler: RouteHandler) => void
屬性值
(path: string, handler: RouteHandler) => void
post
post: (path: string, handler: RouteHandler) => void
屬性值
(path: string, handler: RouteHandler) => void
put
put: (path: string, handler: RouteHandler) => void
屬性值
(path: string, handler: RouteHandler) => void