Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita815ca7

Browse files
committed
public sendable httpheader
1 parent8b3ee9b commita815ca7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

‎Coder Desktop/CoderSDK/HTTP.swift

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ public struct HTTPResponse {
44
letreq:URLRequest
55
}
66

7-
publicstructHTTPHeader{
8-
letheader:String
9-
letvalue:String
7+
publicstructHTTPHeader:Sendable{
8+
publicletheader:String
9+
publicletvalue:String
10+
publicinit(header:String, value:String){
11+
self.header= header
12+
self.value= value
13+
}
1014
}
1115

1216
enumHTTPMethod:String,Equatable,Hashable,Sendable{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp