Instance Propertyvapor 4.114.1Vapor
timeout
ClientRequest.swift:10var timeout: TimeAmount?var timeout: TimeAmount?s5Vapor13ClientRequestV7timeout7NIOCore10TimeAmountVSgvp What are these?426THimport VaporVapor 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.
struct ClientRequeststruct TimeAmountRepresents a time interval.
init(method: HTTPMethod = .GET, url: URI = "/", headers: HTTPHeaders = [:], body: ByteBuffer? = nil, byteBufferAllocator: ByteBufferAllocator = ByteBufferAllocator()) init(method: HTTPMethod = .GET, url: URI = "/", headers: HTTPHeaders = [:], body: ByteBuffer? = nil, timeout: TimeAmount?, byteBufferAllocator: ByteBufferAllocator = ByteBufferAllocator()) var body: ByteBuffer?var content: ContentContainer { get set }var headers: HTTPHeadersvar method: HTTPMethodvar query: URLQueryContainer { get set }var url: URI