Commit d2e12047 authored by Ray Bellis's avatar Ray Bellis

complete jsdocs

parent f15da9b9
......@@ -131,12 +131,15 @@ function startServer(type, port, state)
*/
/**
* A class that encapsulates the baseline RADIUS protocol network stack.
* A class that encapsulates the server portion of the baseline
* RADIUS protocol network stack.
*/
class RadiusServer {
/**
* @param {object} [conf = {auth:1812, acct:1813}] - the UDP ports on which to listen
* @param {object} [conf] - the configuration object
* @param {number} [conf.auth=1812] the UDP port on which to listen for authentication requests
* @param {number} [conf.acct=1813] the UDP port on which to listen for accounting requests
*/
constructor({ auth = 1812, acct = 1813 } = {}) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment