close(mode:file:line:)
Close the Channel
and so the connection if one exists.
func close(mode: CloseMode = .all, file: StaticString = #fileID, line: UInt = #line) -> EventLoopFuture<Void>
Parameters
Returns
the future which will be notified once the operation completes.