Skip to content

Commit 0de1b34

Browse files
committed
fix: comment
1 parent 93cda59 commit 0de1b34

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Std/Internal/Http/Client/Connection.lean

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ A single HTTP client connection.
3434
-/
3535
public structure Connection (α : Type) where
3636
/--
37-
The server connection.
37+
The server connection
3838
-/
3939
socket : α
4040

@@ -44,22 +44,22 @@ public structure Connection (α : Type) where
4444
machine : Protocol.H1.Machine .response
4545

4646
/--
47-
A request packet to be sent through the persistent connection channel.
47+
A request packet to be sent through the persistent connection channel
4848
-/
4949
structure RequestPacket where
5050

5151
/--
52-
?
52+
The HTTP request to be sent
5353
-/
5454
request : Request Body
5555

5656
/--
57-
?
57+
A promise that resolves to the HTTP response once received
5858
-/
5959
responsePromise : IO.Promise (Except IO.Error (Response Body))
6060

6161
/--
62-
?
62+
A token used to cancel the request if needed
6363
-/
6464
cancellationToken : Std.CancellationToken
6565

0 commit comments

Comments
 (0)