Required Instance Propertyvapor 4.106.3Vapor
eventLoop
Client.swift:6var eventLoop: EventLoop { get }
var eventLoop: EventLoop { get }
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 Client : Sendable
protocol EventLoop : EventLoopGroup
An EventLoop processes IO / tasks in an endless loop for Channel
s until it’s closed.
var byteBufferAllocator: ByteBufferAllocator { get }
func allocating(to byteBufferAllocator: ByteBufferAllocator) -> Client
func delegating(to eventLoop: EventLoop) -> Client
func logging(to logger: Logger) -> Client
func send(_ request: ClientRequest) -> EventLoopFuture<ClientResponse>