Skip to content

Commit 970f424

Browse files
committed
Update Proxy.swift
1 parent 1acc9c8 commit 970f424

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Sources/async-http-client/proxy/http/Proxy.swift

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import Foundation
1010
public extension Http{
1111

1212
/// Http client for creating requests to the server
13+
/// Proxy does not keep any state It's just a transport layer to get and pass data
1314
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
1415
struct Proxy<R: IReader, W: IWriter>: IProxy, @unchecked Sendable{
1516

@@ -48,7 +49,7 @@ public extension Http{
4849
return try await send(with: request, taskDelegate)
4950
}
5051

51-
/// POST requst
52+
/// POST request
5253
/// - Parameters:
5354
/// - path: Path
5455
/// - body: The data sent as the message body of a request, such as for an HTTP POST or PUT requests
@@ -70,7 +71,7 @@ public extension Http{
7071
}
7172

7273

73-
/// PUT requst
74+
/// PUT request
7475
/// - Parameters:
7576
/// - path: Path
7677
/// - body: The data sent as the message body of a request, such as for an HTTP POST or PUT requests
@@ -138,7 +139,7 @@ public extension Http{
138139

139140
private extension Http.Proxy{
140141

141-
/// Url buider method
142+
/// Url builder method
142143
/// - Parameters:
143144
/// - baseURL: Base url
144145
/// - path: Path

0 commit comments

Comments
 (0)