Skip to content

Instance Method

close()

Close the connection and invalidate its handle.
func close() -> EventLoopFuture<Void>

Return Value

A future indicating completion of connection closure.

Discussion

No further operations may be performed on the connection after calling this method.