Skip to content

Commit f9766a3

Browse files
committed
Documentation for AppProtocol
1 parent 0870f58 commit f9766a3

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Sources/ApplicationConfiguration/AppProtocol.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ import Foundation
33
import PerfectHTTPServer
44
import PerfectHTTP
55

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
613
public protocol AppProtocol {
714
var name: String { get }
815
var config: Configuration? { get}

0 commit comments

Comments
 (0)