We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b3ee9b commit a815ca7Copy full SHA for a815ca7
Coder Desktop/CoderSDK/HTTP.swift
@@ -4,9 +4,13 @@ public struct HTTPResponse {
4
let req: URLRequest
5
}
6
7
-public struct HTTPHeader {
8
- let header: String
9
- let value: String
+public struct HTTPHeader: Sendable {
+ public let header: String
+ public let value: String
10
+ public init(header: String, value: String) {
11
+ self.header = header
12
+ self.value = value
13
+ }
14
15
16
enum HTTPMethod: String, Equatable, Hashable, Sendable {
0 commit comments