PerfectlySoft / Perfect-HTTP

Base HTTP Support for Perfect.
https://www.perfect.org
Apache License 2.0
31 stars 34 forks source link

Make Route struct public accessible #7

Closed S2Ler closed 8 years ago

S2Ler commented 8 years ago

Motivation: Routes struct has public method public mutating func add(_ route: Route), but there is no way to initialize Route struct from outside the framework.

iamjono commented 8 years ago

Hi @diejmon - could you clarify what you mean "outside the framework"? thanks!