ws: Function to add websocket handling middleware

Description Usage Arguments See Also

Description

Function to add websocket handling middleware

Usage

1
ws(jug, path, ...)

Arguments

jug

the jug object

path

the path to bind to

...

functions (order matters) to bind to the path (will receive the params req, res and err)

See Also

post, put, delete, get, get


jug documentation built on May 1, 2019, 10:31 p.m.