Add GET, POST & DELETE methods

This commit is contained in:
Victor Bodinaud
2024-01-12 20:00:31 +01:00
parent ed88a7f103
commit 4c415365a2
4 changed files with 150 additions and 0 deletions

27
Package.swift Normal file
View File

@@ -0,0 +1,27 @@
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Hermes",
platforms: [
.macOS(.v13),
.iOS(.v15)
],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "Hermes",
targets: ["Hermes"]),
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: "Hermes"),
.testTarget(
name: "HermesTests",
dependencies: ["Hermes"]),
]
)