Skip to content

Commit 59a786d

Browse files
committed
Manual lint
1 parent 3ce2a0b commit 59a786d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/ComposableArchitecturePattern/Server.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public protocol Server: Actor {
5454
/// - Note: `additionalHeaders` will override a key-value in `additionalHTTPHeaders`.
5555
/// - Note: The server automatically checks against these values to check whether they're supported by the API or not. For instance, if the specified return type is not supported, a `ServerAPIError.badRequest` error is thrown. If the specified API doesn't support this function, a `ServerAPIError.badRequest` error is thrown.
5656
func get<T: Codable>(_ api: any ServerAPI, additionalHeaders: [String: String]?, queries: [URLQueryItem]?, httpBodyOverride httpBody: Data?, timeoutInterval: TimeInterval?, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy, keyDecodingStrategy: JSONDecoder.KeyDecodingStrategy) async throws -> T
57+
5758
/// Sends a POST request and returns the specified value type from the given API.
5859
///
5960
/// - Note: `additionalHeaders` will override a key-value in `additionalHTTPHeaders`.

0 commit comments

Comments
 (0)