Skip to content

Commit b5adc4c

Browse files
committed
update
1 parent 14cc104 commit b5adc4c

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public extension Http{
1919
public var baseURL: URL
2020

2121
/// Get session
22+
/// @unchecked Sendable
2223
public var getSession: URLSession {
2324
session
2425
}
@@ -35,6 +36,7 @@ public extension Http{
3536
// MARK: - Private properties
3637

3738
/// An object that coordinates a group of related, network data transfer task
39+
/// @unchecked Sendable
3840
private let session : URLSession
3941

4042
// MARK: - Life circle

Sources/async-http-client/proxy/http/enum/HttpMethod.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ extension Http{
1212

1313
/// HTTP defines a set of request methods to indicate the desired action to be performed for a given resource. Although they can also be nouns, these request methods are sometimes referred to as HTTP verbs. Each of them implements a different semantic, but some common features are shared by a group of them
1414
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
15-
public enum Method: String, Hashable, CustomStringConvertible, Sendable {
15+
public enum Method: String, Hashable, CustomStringConvertible {
1616

1717
///The GET method requests a representation of the specified resource. Requests using GET should only retrieve data
1818
case get = "GET"

Sources/async-http-client/reader/JsonReader.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import Foundation
88

99
/// An object that decodes instances of a data type from JSON objects
1010
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
11-
public struct JsonReader: IReader, Sendable {
11+
public struct JsonReader: IReader {
1212

1313
// MARK: - Life circle
1414

Sources/async-http-client/writer/JsonWriter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import Foundation
1010

1111
/// An object that encodes instances of a data type as JSON objects
1212
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
13-
public struct JsonWriter: IWriter, Sendable{
13+
public struct JsonWriter: IWriter{
1414

1515
// MARK: - Life circle
1616

0 commit comments

Comments
 (0)