withConnectedSocket(descriptor:)

Use the existing connected socket file descriptor.

Bootstrap.swift:1124

This declaration has been renamed to ClientBootstrap.withConnectedSocket(_:).

This declaration is deprecated.

func withConnectedSocket(descriptor: CInt) -> EventLoopFuture<any Channel>

Parameters

descriptor

The Unix file descriptor representing the connected stream socket.

Returns

an EventLoopFuture<Channel> to deliver the Channel.