File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
LocalDebugging/MyCloudFunction
Sources/TencentSCFRuntimeCore Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ let package = Package(
22
22
dependencies: [
23
23
// This is the dependency on the swift-tencent-scf-runtime library.
24
24
// In real-world projects, this would say:
25
- // .package(url: "https://github.com/stevapple/swift-tencent-scf-runtime.git", from: "0.0.3 ")
25
+ // .package(url: "https://github.com/stevapple/swift-tencent-scf-runtime.git", from: "0.1.0 ")
26
26
. package ( name: " swift-tencent-scf-runtime " , path: " ../.. " ) ,
27
27
] ,
28
28
targets: [
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ let package = Package(
13
13
dependencies: [
14
14
// This is the dependency on the swift-tencent-scf-runtime library.
15
15
// In real-world projects this would say:
16
- // .package(url: "https://github.com/stevapple/swift-tencent-scf-runtime.git", from: "0.0.3 ")
16
+ // .package(url: "https://github.com/stevapple/swift-tencent-scf-runtime.git", from: "0.1.0 ")
17
17
. package ( name: " swift-tencent-scf-runtime " , path: " ../../.. " ) ,
18
18
. package ( name: " Shared " , path: " ../Shared " ) ,
19
19
] ,
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ let package = Package(
40
40
.executable (name : " MyCloudFunction" , targets : [" MyCloudFunction" ]),
41
41
],
42
42
dependencies : [
43
- .package (url : " https://github.com/stevapple/swift-tencent-scf-runtime.git" , from : " 0.0.3 " ),
43
+ .package (url : " https://github.com/stevapple/swift-tencent-scf-runtime.git" , from : " 0.1.0 " ),
44
44
],
45
45
targets : [
46
46
.target (name : " MyCloudFunction" , dependencies : [
Original file line number Diff line number Diff line change @@ -30,10 +30,10 @@ import NIO
30
30
import NIOHTTP1
31
31
32
32
/// An HTTP based client for SCF Runtime Engine. This encapsulates the RESTful methods exposed by the runtime engine:
33
- /// - POST /runtime/init/ready
34
- /// - GET /runtime/invocation/next
35
- /// - POST /runtime/invocation/response
36
- /// - POST /runtime/invocation/error
33
+ /// * POST /runtime/init/ready
34
+ /// * GET /runtime/invocation/next
35
+ /// * POST /runtime/invocation/response
36
+ /// * POST /runtime/invocation/error
37
37
extension SCF {
38
38
internal struct RuntimeClient {
39
39
private let eventLoop : EventLoop
You can’t perform that action at this time.
0 commit comments