Static Methodvapor 4.114.1Vapor
validate(content:)
Validatable.swift:16static func validate(content request: Request) throws
static func validate(content request: Request) throws
s5Vapor11ValidatablePAAE8validate7contentyAA7RequestC_tKFZ
What are these?4AJ2C
import Vapor
Vapor is a framework for building server applications, APIs and websites in Swift. It provides a safe, performant and scalable foundation for building large complex backends.
protocol Validatable
Capable of being validated. Conformance adds a throwing validate()
method.
final class Request
Represents an HTTP request in an application.
static func validate(_ decoder: Decoder) throws
static func validate(json: String) throws
static func validate(query: URI) throws
static func validate(query request: Request) throws
static func validations() -> Validations
static func validate(_ request: Request) throws