Initializerasync-http-client 1.25.2AsyncHTTPClient
init(closure:)
Create new StreamWriter
init(closure: @escaping (IOData) -> EventLoopFuture<Void>)
Parameters
- closure
function that will be called to write actual bytes to the channel.
Create new StreamWriter
init(closure: @escaping (IOData) -> EventLoopFuture<Void>)
function that will be called to write actual bytes to the channel.