We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0870f58 commit f9766a3Copy full SHA for f9766a3
1 file changed
Sources/ApplicationConfiguration/AppProtocol.swift
@@ -3,6 +3,13 @@ import Foundation
3
import PerfectHTTPServer
4
import PerfectHTTP
5
6
+/// A protocol to define Applications
7
+/// name: application name
8
+/// config: application configuration
9
+/// routes: a group of routes
10
+/// filters: application filters (request & response)
11
+/// init: to initialize the Application
12
+/// server to return the server object
13
public protocol AppProtocol {
14
var name: String { get }
15
var config: Configuration? { get}
0 commit comments