Skip to content

Commit 0e2dd8e

Browse files
committed
document @throws for connection closed by peer
1 parent a6ea5ca commit 0e2dd8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Request.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export class Request {
5757
/**
5858
* Create a new Request from a Node.js incoming HTTP request.
5959
* @throws {@link Request.BadUrlError} If the request URL is invalid.
60+
* @throws {@link Request.SocketClosedError} If the request socket was closed before the request could be handled.
6061
*/
6162
public static incomingMessage(incomingMessage: http.IncomingMessage) {
6263
const auth =

0 commit comments

Comments
 (0)