Skip to content

Commit

Permalink
add responder representable (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulofaria authored Jul 5, 2016
1 parent 1de5aa0 commit 84e6ac0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/Responder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ extension Responder {
}
}

public protocol ResponderRepresentable {
var responder: Responder { get }
}

public typealias Respond = (to: Request) throws -> Response

public struct BasicResponder: Responder {
Expand Down

0 comments on commit 84e6ac0

Please sign in to comment.