Required Instance Propertyvapor 4.114.1Vapor
byteBufferAllocator
Client.swift:7var byteBufferAllocator: ByteBufferAllocator { get }
var byteBufferAllocator: ByteBufferAllocator { get }
s5Vapor6ClientP19byteBufferAllocator7NIOCore04BytedE0Vvp
What are these?7LPNE
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
struct ByteBufferAllocator
The preferred allocator for ByteBuffer
values. The allocation strategy is opaque but is currently libc’s malloc
, realloc
and free
.
var eventLoop: EventLoop { 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>
var byteBufferAllocator: ByteBufferAllocator { get }