Container

protocol Container : BasicWorker
  • Creates a Client for this Container.

    let res = try req.client().get("http://vapor.codes")
    print(res) // Future<Response>
    

    See Client for more information.

    Declaration

    Swift

    public func client() throws -> Client