Skip to content

Commit

Permalink
docs: jsdocs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cmorten committed Aug 13, 2021
1 parent 9bf23e8 commit ef987c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Empty file added http/native_server.test.ts
Empty file.
9 changes: 5 additions & 4 deletions http/native_server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,9 @@ export class Server implements AsyncIterable<ServerRequest> {
/**
* Yields all HTTP requests on a single TCP connection.
*
* @param {HttpConn} httpConn The HTTP connection to yield requests from.
* @yields {ServerRequest} HTTP request events
* @param {Deno.HttpConn} httpConn The HTTP connection to yield requests from.
* @param {Deno.Conn} conn The underlying connection.
* @yields {ServerRequest} HTTP request events.
* @private
*/
private async *iterateHttpRequests(
Expand Down Expand Up @@ -223,7 +224,7 @@ export class Server implements AsyncIterable<ServerRequest> {
/**
* Adds the HTTP connection to the internal tracking list.
*
* @param {HttpConn} httpConn
* @param {Deno.HttpConn} httpConn
* @private
*/
private trackConnection(httpConn: Deno.HttpConn): void {
Expand All @@ -233,7 +234,7 @@ export class Server implements AsyncIterable<ServerRequest> {
/**
* Removes the HTTP connection from the internal tracking list.
*
* @param {HttpConn} httpConn
* @param {Deno.HttpConn} httpConn
* @private
*/
private untrackConnection(httpConn: Deno.HttpConn): void {
Expand Down

0 comments on commit ef987c4

Please sign in to comment.