drashland/wocket

Improve configs to server

crookse opened this issue · 1 comments

Example code:

interface SocketServerOptions {
  path: string;
}

new SocketServer(port: number, options: SocketServerOptions);

we can close this. the restructure (#13) added the run() method which takes in HTTPOptions as an arg