Skip to content

Commit 9ca807a

Browse files
authored
update types
1 parent 942f4d8 commit 9ca807a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

types/components/Server.d.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ export class Server extends Router {
4040
*/
4141
listen(port: number, host?: string): Promise<uWebsockets.us_listen_socket|string>;
4242

43+
/**
44+
* Starts HyperExpress webserver on specified unix domain socket.
45+
*
46+
* @param {String} path
47+
* @returns {Promise} Promise
48+
*/
49+
listen(path: string): Promise<uWebsockets.us_listen_socket|string>;
50+
4351
/**
4452
* Stops/Closes HyperExpress webserver instance.
4553
*
@@ -115,4 +123,4 @@ export class Server extends Router {
115123
* @returns {HostManager}
116124
*/
117125
get hosts(): HostManager;
118-
}
126+
}

0 commit comments

Comments
 (0)